diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile index 5787b0942725..88a3e24b4168 100644 --- a/games/rezerwar/Makefile +++ b/games/rezerwar/Makefile @@ -1,31 +1,28 @@ PORTNAME= rezerwar PORTVERSION= 0.4.2 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Puzzle game involving organizing blocks with pipes -BROKEN_FreeBSD_13= ld: error: duplicate symbol: screen -BROKEN_FreeBSD_14= ld: error: duplicate symbol: screen - USES= gmake sdl USE_SDL= sdl mixer HAS_CONFIGURE= yes CONFIGURE_ARGS= Unix CONFIGURE_ENV= TARGET_BIN=${PREFIX}/bin \ TARGET_DOC=${DOCSDIR} \ TARGET_DATA=${DATADIR} PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure .include diff --git a/games/rezerwar/files/patch-src_events.c b/games/rezerwar/files/patch-src_events.c new file mode 100644 index 000000000000..43900ae63816 --- /dev/null +++ b/games/rezerwar/files/patch-src_events.c @@ -0,0 +1,11 @@ +--- src/events.c.orig 2010-05-09 16:25:03 UTC ++++ src/events.c +@@ -38,7 +38,7 @@ + + extern Board *board; + extern Configuration *conf; +-SDL_Surface *screen; ++extern SDL_Surface *screen; + Cube *speedy; // currently accelerated cube + +