mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build with -fno-common
This commit is contained in:
parent
b0889bbad1
commit
2c6c867da3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550681
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= prboom
|
||||
PORTVERSION= 2.5.0
|
||||
PORTREVISION= 10
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
|
||||
|
||||
@ -12,9 +12,11 @@ COMMENT= Multiplayer-capable and modified version of ID's classic DOOM game
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
|
||||
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
|
||||
libpng16.so:graphics/png
|
||||
|
||||
USES= gmake sdl
|
||||
USE_GL= gl
|
||||
USE_SDL= mixer net sdl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
10
games/prboom/files/patch-src_gl__intern.h
Normal file
10
games/prboom/files/patch-src_gl__intern.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/gl_intern.h.orig 2008-10-11 12:10:39 UTC
|
||||
+++ src/gl_intern.h
|
||||
@@ -83,6 +83,6 @@ int gld_GetTexDimension(int value);
|
||||
void gld_SetTexturePalette(GLenum target);
|
||||
void gld_Precache(void);
|
||||
|
||||
-PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
|
||||
+extern PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
|
||||
|
||||
#endif // _GL_INTERN_H
|
11
games/prboom/files/patch-src_gl__main.c
Normal file
11
games/prboom/files/patch-src_gl__main.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/gl_main.c.orig 2008-10-18 13:32:29 UTC
|
||||
+++ src/gl_main.c
|
||||
@@ -83,6 +83,8 @@ int gl_paletted_texture = 0;
|
||||
int gl_shared_texture_palette = 0;
|
||||
int gl_sprite_offset; // item out of floor offset Mead 8/13/03
|
||||
|
||||
+PFNGLCOLORTABLEEXTPROC gld_ColorTableEXT;
|
||||
+
|
||||
GLuint gld_DisplayList=0;
|
||||
int fog_density=200;
|
||||
static float extra_red=0.0f;
|
Loading…
Reference in New Issue
Block a user