Date: Wed, 30 Sep 2020 11:19:14 +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: r550684 - in head/games/prboom-plus: . files Message-ID: <202009301119.08UBJErZ031742@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Wed Sep 30 11:19:14 2020 New Revision: 550684 URL: https://svnweb.freebsd.org/changeset/ports/550684 Log: Fix build with -fno-common While here add dependencies reported as missing by stage-qa. Added: head/games/prboom-plus/files/ head/games/prboom-plus/files/patch-src_doomstat.c (contents, props changed) head/games/prboom-plus/files/patch-src_gl__intern.h (contents, props changed) head/games/prboom-plus/files/patch-src_gl__light.c (contents, props changed) Modified: head/games/prboom-plus/Makefile Modified: head/games/prboom-plus/Makefile ============================================================================== --- head/games/prboom-plus/Makefile Wed Sep 30 11:13:16 2020 (r550683) +++ head/games/prboom-plus/Makefile Wed Sep 30 11:19:14 2020 (r550684) @@ -3,7 +3,7 @@ PORTNAME= prboom-plus PORTVERSION= 2.5.1.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF @@ -14,22 +14,26 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \ - libpng.so:graphics/png + libpng.so:graphics/png \ + libmad.so:audio/libmad \ + libfluidsynth.so:audio/fluidsynth \ + libvorbisfile.so:audio/libvorbis USES= gmake localbase sdl -USE_SDL= mixer net sdl +USE_GL= gl +USE_SDL= image mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-waddir=${DATADIR} +DATADIR= ${DMDIR} + OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL -DATADIR= ${DMDIR} - -OPENGL_CONFIGURE_ENABLE= gl OPENGL_USES= gl OPENGL_USE= GL=glu +OPENGL_CONFIGURE_ENABLE= gl post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ Added: head/games/prboom-plus/files/patch-src_doomstat.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/prboom-plus/files/patch-src_doomstat.c Wed Sep 30 11:19:14 2020 (r550684) @@ -0,0 +1,11 @@ +--- src/doomstat.c.orig 2010-12-16 21:37:35 UTC ++++ src/doomstat.c +@@ -57,7 +57,7 @@ GameExe_t game_exe; + + // e6y + // it's required for demos recorded in "demo compatibility" mode by boom201 for example +-int demover; ++extern int demover; + + int comp[COMP_TOTAL], default_comp[COMP_TOTAL]; // killough 10/98 + Added: head/games/prboom-plus/files/patch-src_gl__intern.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/prboom-plus/files/patch-src_gl__intern.h Wed Sep 30 11:19:14 2020 (r550684) @@ -0,0 +1,22 @@ +--- src/gl_intern.h.orig 2011-10-05 10:23:00 UTC ++++ src/gl_intern.h +@@ -450,8 +450,8 @@ void gld_StaticLightAlpha(float light, float alpha); + void gld_InitLightTable(void); + typedef float (*gld_CalcLightLevel_f)(int lightlevel); + typedef float (*gld_Calc2DLightLevel_f)(int lightlevel); +-gld_CalcLightLevel_f gld_CalcLightLevel; +-gld_Calc2DLightLevel_f gld_Calc2DLightLevel; ++extern gld_CalcLightLevel_f gld_CalcLightLevel; ++extern gld_Calc2DLightLevel_f gld_Calc2DLightLevel; + + //fog + extern int gl_fog; +@@ -459,7 +459,7 @@ extern int gl_use_fog; + void gl_EnableFog(int on); + void gld_SetFog(float fogdensity); + typedef float (*gld_CalcFogDensity_f)(sector_t *sector, int lightlevel, GLDrawItemType type); +-gld_CalcFogDensity_f gld_CalcFogDensity; ++extern gld_CalcFogDensity_f gld_CalcFogDensity; + + //HQ resize + unsigned char* gld_HQResize(GLTexture *gltexture, unsigned char *inputBuffer, int inWidth, int inHeight, int *outWidth, int *outHeight); Added: head/games/prboom-plus/files/patch-src_gl__light.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/prboom-plus/files/patch-src_gl__light.c Wed Sep 30 11:19:14 2020 (r550684) @@ -0,0 +1,11 @@ +--- src/gl_light.c.orig 2011-08-21 10:39:08 UTC ++++ src/gl_light.c +@@ -76,6 +76,8 @@ static float lighttable_glboom[5][256]; + static float lighttable_gzdoom[256]; + static float lighttable_fogbased[256]; + ++gld_Calc2DLightLevel_f gld_Calc2DLightLevel; ++ + static void gld_InitLightTable_glboom(void); + static void gld_InitLightTable_gzdoom(void); + static void gld_InitLightTable_fogbased(void);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301119.08UBJErZ031742>