Index: head/games/xpacman/Makefile =================================================================== --- head/games/xpacman/Makefile (revision 475875) +++ head/games/xpacman/Makefile (revision 475876) @@ -1,24 +1,28 @@ # Created by: joerg # $FreeBSD$ PORTNAME= xpacman PORTVERSION= 1.002 CATEGORIES= games MASTER_SITES= ftp://ftp.nvg.unit.no/pub/pacman/ DISTNAME= pacman-1_002 MAINTAINER= ports@FreeBSD.org COMMENT= Old action game LICENSE= GPLv2 RUN_DEPENDS+= ${LOCALBASE}/share/fonts/misc/9x18.pcf.gz:x11-fonts/font-misc-misc +USES= compiler + GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-doublesize -CPPFLAGS+= -I${LOCALBASE}/include +# Build ignores CFLAGS, CXXFLAGS +CPPFLAGS+= -I${LOCALBASE}/include ${CPPFLAGS_${CHOSEN_COMPILER_TYPE}} +CPPFLAGS_clang= -Wno-c++11-narrowing LDFLAGS+= -L${LOCALBASE}/lib USE_XORG= x11 xext PLIST_FILES= bin/pacman .include Index: head/games/xpacman/files/patch-pac.h =================================================================== --- head/games/xpacman/files/patch-pac.h (nonexistent) +++ head/games/xpacman/files/patch-pac.h (revision 475876) @@ -0,0 +1,15 @@ +./pac.h:36:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] +#define PACTITLE "Pacman v. "VERSION" \xa9 1995,1999,2000 by Roar Thron\xe6s" + ^ + +--- pac.h.orig 2018-07-30 09:36:15 UTC ++++ pac.h +@@ -33,7 +33,7 @@ void writetext(); //just draw text + + //change my name and you will be sued!!!!!!!!!!!!!!!!!!!!!!!!!! + #ifndef VMS +-#define PACTITLE "Pacman v. "VERSION" \xa9 1995,1999,2000 by Roar Thron\xe6s" ++#define PACTITLE "Pacman v. " VERSION " \xa9 1995,1999,2000 by Roar Thron\xe6s" + #else + #define PACTITLE "Pacman v. 1_002 \xa9 1995,1999,2000 by Roar Thron\xe6s" + #endif Property changes on: head/games/xpacman/files/patch-pac.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property