Index: head/games/numptyphysics/Makefile =================================================================== --- head/games/numptyphysics/Makefile (revision 473067) +++ head/games/numptyphysics/Makefile (revision 473068) @@ -1,46 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= numptyphysics DISTVERSION= 0.3.r20090104 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Drawing physics-based puzzle game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 desktop-file-utils GNU_CONFIGURE= yes USE_SDL= sdl image +USE_XORG= x11 INSTALLS_ICONS= yes CONFIGURE_ENV= AUTOMAKE="${TRUE}" ACLOCAL="${TRUE}" MISSING="${TRUE}" LDFLAGS+= -L${LOCALBASE}/lib -lpthread CPPFLAGS+= -I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\" +CXXFLAGS+= -Wno-c++11-narrowing + WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= MOREFPS OPTIONS_DEFAULT=MOREFPS MOREFPS_DESC= Smoother graphics support post-patch: @${CHMOD} a+x ${WRKSRC}/install-sh @${REINPLACE_CMD} -e 's|\(desktopentrydir=\).*|\1${PREFIX}/share/applications|' \ -e '/stdc++/ d' \ ${WRKSRC}/configure ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|^Exec=.*|Exec=${PORTNAME}|; /^X-Icon-Path/ d' \ ${WRKSRC}/data/${PORTNAME}.desktop post-patch-MOREFPS-on: @${REINPLACE_CMD} -e '/define RENDER_RATE/ s|20|60|' \ ${WRKSRC}/Config.h post-build: - ${STRIP_CMD} ${WRKSRC}/${PORTNAME} + @${STRIP_CMD} ${WRKSRC}/${PORTNAME} .include Index: head/games/numptyphysics/files/patch-Game.cpp =================================================================== --- head/games/numptyphysics/files/patch-Game.cpp (nonexistent) +++ head/games/numptyphysics/files/patch-Game.cpp (revision 473068) @@ -0,0 +1,11 @@ +--- Game.cpp.orig 2008-11-11 16:54:38 UTC ++++ Game.cpp +@@ -1495,7 +1495,7 @@ void init( bool useDummyVideo=false ) + throw "Couldn't initialize SDL"; + } + +- if ( mkdir( (string(getenv("HOME"))+"/"USER_BASE_PATH).c_str(), ++ if ( mkdir( (string(getenv("HOME"))+"/" USER_BASE_PATH).c_str(), + 0755)==0 ) { + printf("created user dir\n"); + } else if ( errno==EEXIST ){ Property changes on: head/games/numptyphysics/files/patch-Game.cpp ___________________________________________________________________ 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