Date: Wed, 30 Sep 2020 11:10:02 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550681 - in head/games/prboom: . files Message-ID: <202009301110.08UBA2OH025279@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Wed Sep 30 11:10:02 2020 New Revision: 550681 URL: https://svnweb.freebsd.org/changeset/ports/550681 Log: Fix build with -fno-common Added: head/games/prboom/files/patch-src_gl__intern.h (contents, props changed) head/games/prboom/files/patch-src_gl__main.c (contents, props changed) Modified: head/games/prboom/Makefile Modified: head/games/prboom/Makefile ============================================================================== --- head/games/prboom/Makefile Wed Sep 30 11:03:29 2020 (r550680) +++ head/games/prboom/Makefile Wed Sep 30 11:10:02 2020 (r550681) @@ -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 I 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 Added: head/games/prboom/files/patch-src_gl__intern.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/prboom/files/patch-src_gl__intern.h Wed Sep 30 11:10:02 2020 (r550681) @@ -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 Added: head/games/prboom/files/patch-src_gl__main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/prboom/files/patch-src_gl__main.c Wed Sep 30 11:10:02 2020 (r550681) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301110.08UBA2OH025279>