Date: Tue, 1 Oct 2013 20:04:02 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328988 - in head/games/warmux: . files Message-ID: <201310012004.r91K42fE002535@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Tue Oct 1 20:04:02 2013 New Revision: 328988 URL: http://svnweb.freebsd.org/changeset/ports/328988 Log: games/warmux: add <unistd.h> for modern compilers The DEBUG option, which is now default, sets the -Werror flag that was removed with a sed replace command for some makefiles. Newer compilers will pick up set-but-unused errors so -Werror really has to be disabled everywhere on newer compilers. Approved by: portmgr (bapt, implicit) Added: head/games/warmux/files/patch-src_main.cpp (contents, props changed) head/games/warmux/files/patch-tools_list__games_main.cpp (contents, props changed) Modified: head/games/warmux/Makefile Modified: head/games/warmux/Makefile ============================================================================== --- head/games/warmux/Makefile Tue Oct 1 19:57:41 2013 (r328987) +++ head/games/warmux/Makefile Tue Oct 1 20:04:02 2013 (r328988) @@ -36,7 +36,7 @@ NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.in ${WRKSRC}/configure ${REINPLACE_CMD} -e "s,warmux_files.desktop,," ${WRKSRC}/data/Makefile.in ${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete Added: head/games/warmux/files/patch-src_main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/warmux/files/patch-src_main.cpp Tue Oct 1 20:04:02 2013 (r328988) @@ -0,0 +1,10 @@ +--- src/main.cpp.orig 2011-04-28 19:03:06.000000000 +0000 ++++ src/main.cpp +@@ -21,6 +21,7 @@ + + #include <WARMUX_singleton.h> + #include <getopt.h> ++#include <unistd.h> + #ifndef WIN32 + # include <signal.h> + #endif Added: head/games/warmux/files/patch-tools_list__games_main.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/warmux/files/patch-tools_list__games_main.cpp Tue Oct 1 20:04:02 2013 (r328988) @@ -0,0 +1,8 @@ +--- tools/list_games/main.cpp.orig 2011-04-28 19:03:12.000000000 +0000 ++++ tools/list_games/main.cpp +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <unistd.h> + #include <WARMUX_types.h> + #include <WARMUX_network.h> + #include <WARMUX_index_server.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310012004.r91K42fE002535>