diff --git a/games/sdlroids/Makefile b/games/sdlroids/Makefile index 5acf611a9dc9..e2dd47fe9b49 100644 --- a/games/sdlroids/Makefile +++ b/games/sdlroids/Makefile @@ -1,41 +1,38 @@ PORTNAME= sdlroids -PORTVERSION= 1.3.4 -PORTREVISION= 18 +DISTVERSION= 1.3.4 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= SF \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Enhanced shoot-the-asteroids game WWW= https://sourceforge.net/projects/sdlroids/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_13= ld: error: duplicate symbol: flagargs -BROKEN_FreeBSD_14= ld: error: duplicate symbol: flagargs - USES= gmake sdl tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/share USE_CSTD= gnu89 USE_SDL= mixer sdl PORTDOCS= ChangeLog README README.orig README.petopt README.xhyperoid OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="SDLRoids" "" "${PORTNAME}" \ "${PORTNAME} -n 2" "Game;ArcadeGame;" "" post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/sdlroids/files/patch-getargs.h b/games/sdlroids/files/patch-getargs.h new file mode 100644 index 000000000000..7d3a4d7be14d --- /dev/null +++ b/games/sdlroids/files/patch-getargs.h @@ -0,0 +1,8 @@ +--- getargs.h.orig 2023-04-13 13:43:47 UTC ++++ getargs.h +@@ -37,4 +37,4 @@ + + /* getargs() prototype */ + void getargs(int, char *[]); +-int flagargs[NUMARGS]; ++extern int flagargs[NUMARGS];