I performed the most basic steps to upgrade a port and after playing a short game, it appears that suffices in this case. So the attached patch contains an update to 0.0.12 for 0ad. Fix: See attached patch Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->madpilot Over to maintainer (via the GNATS Auto Assign Tool)
Hi! Thanks for the patch. I'm working on the update and have it almost ready. Unluckily 0ad is broken on CURRENT at present and I had to find a fix for that which delayed the update. I'm testing it right now and will commit it in a few days at worst. -- Guido Falsi <madpilot@FreeBSD.org>
State Changed From-To: open->analyzed Already working on an updated, delayed by port being broken on -CURRENT. Fix in testing, will commit ASAP.
Author: madpilot Date: Fri Dec 28 21:18:10 2012 New Revision: 309587 URL: http://svnweb.freebsd.org/changeset/ports/309587 Log: - Update to 0.0.12 [1] - Fix build with clang 3.2 PR: ports/174780 [1] Submitted by: Oliver Heesakkers <dev2@heesakkers.info> Added: head/games/0ad/files/patch-source-lib-debug.cpp (contents, props changed) head/games/0ad/files/patch-source-lib-debug.h (contents, props changed) Modified: head/games/0ad/Makefile head/games/0ad/distinfo head/games/0ad/files/patch-build-premake-premake4.lua head/games/0ad/files/patch-libraries-spidermonkey-build.sh (contents, props changed) Modified: head/games/0ad/Makefile ============================================================================== --- head/games/0ad/Makefile Fri Dec 28 21:10:04 2012 (r309586) +++ head/games/0ad/Makefile Fri Dec 28 21:18:10 2012 (r309587) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= 0ad -PORTVERSION= 0.0.11 +PORTVERSION= 0.0.12 CATEGORIES= games MASTER_SITES= SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ Modified: head/games/0ad/distinfo ============================================================================== --- head/games/0ad/distinfo Fri Dec 28 21:10:04 2012 (r309586) +++ head/games/0ad/distinfo Fri Dec 28 21:18:10 2012 (r309587) @@ -1,4 +1,4 @@ -SHA256 (0ad-0.0.11-alpha-unix-build.tar.xz) = a218c42bce111d0bcb02b3a18eb14d7c06a839b8863df362083ebd0835d3c6a3 -SIZE (0ad-0.0.11-alpha-unix-build.tar.xz) = 8682272 -SHA256 (0ad-0.0.11-alpha-unix-data.tar.xz) = a28dd9160637bc1345223ec6f9c36bb693350e9dcc35a3194f43ed463b3ba20e -SIZE (0ad-0.0.11-alpha-unix-data.tar.xz) = 350967036 +SHA256 (0ad-0.0.12-alpha-unix-build.tar.xz) = 69d01f9ba12bb78f58fc2c567187cfffe20055591f378724b906e6a48ac73877 +SIZE (0ad-0.0.12-alpha-unix-build.tar.xz) = 8693880 +SHA256 (0ad-0.0.12-alpha-unix-data.tar.xz) = 0efd800a149f2fed70d7e133b93a385e82810844b50154771514d17d9a68ee07 +SIZE (0ad-0.0.12-alpha-unix-data.tar.xz) = 388143556 Modified: head/games/0ad/files/patch-build-premake-premake4.lua ============================================================================== --- head/games/0ad/files/patch-build-premake-premake4.lua Fri Dec 28 21:10:04 2012 (r309586) +++ head/games/0ad/files/patch-build-premake-premake4.lua Fri Dec 28 21:18:10 2012 (r309587) @@ -1,6 +1,15 @@ ---- build/premake/premake4.lua.orig 2012-08-15 02:10:44.000000000 +0200 -+++ build/premake/premake4.lua 2012-09-13 04:13:10.184743291 +0200 -@@ -220,7 +220,6 @@ +--- build/premake/premake4.lua.orig 2012-10-30 01:56:24.000000000 +0100 ++++ build/premake/premake4.lua 2012-12-26 18:37:28.882327928 +0100 +@@ -134,7 +134,7 @@ + + function project_set_build_flags() + +- flags { "Symbols", "NoEditAndContinue" } ++ flags { "NoEditAndContinue" } + if not _OPTIONS["icc"] and (os.is("windows") or not _OPTIONS["minimal-flags"]) then + -- adds the -Wall compiler flag + flags { "ExtraWarnings" } -- this causes far too many warnings/remarks on ICC +@@ -215,7 +215,6 @@ -- enable security features (stack checking etc) that shouldn't have -- a significant effect on performance and can catch bugs @@ -8,18 +17,18 @@ "-D_FORTIFY_SOURCE=2", -- always enable strict aliasing (useful in debug builds because of the warnings) -@@ -292,11 +291,11 @@ +@@ -287,11 +286,11 @@ -- X11 includes may be installed in one of a gadzillion of three places -- Famous last words: "You can't include too much! ;-)" includedirs { - "/usr/X11R6/include/X11", - "/usr/X11R6/include", -+ "%%LOCALBASE%%/X11", -+ "%%LOCALBASE%%/include", ++ "/usr/local/X11", ++ "/usr/local/include", "/usr/include/X11" } - libdirs { "/usr/X11R6/lib" } -+ libdirs { "%%LOCALBASE%%/lib" } ++ libdirs { "/usr/local/lib" } if _OPTIONS["bindir"] then defines { "INSTALLED_BINDIR=" .. _OPTIONS["bindir"] } Modified: head/games/0ad/files/patch-libraries-spidermonkey-build.sh ============================================================================== --- head/games/0ad/files/patch-libraries-spidermonkey-build.sh Fri Dec 28 21:10:04 2012 (r309586) +++ head/games/0ad/files/patch-libraries-spidermonkey-build.sh Fri Dec 28 21:18:10 2012 (r309587) @@ -1,6 +1,6 @@ ---- libraries/spidermonkey/build.sh.orig 2012-01-31 01:06:56.000000000 +0100 -+++ libraries/spidermonkey/build.sh 2012-05-03 15:49:34.640969629 +0200 -@@ -49,6 +49,11 @@ +--- libraries/spidermonkey/build.sh.orig 2012-06-11 00:39:26.000000000 +0200 ++++ libraries/spidermonkey/build.sh 2012-12-18 10:58:11.343785532 +0100 +@@ -53,6 +53,14 @@ cd js-1.8.5/js/src @@ -9,6 +9,9 @@ +#include <pthread_np.h>\ +#pragma GCC visibility pop/' jsnativestack.cpp.orig >jsnativestack.cpp + ++cp configure configure.orig ++sed 's/"$ac_cv_have_visibility_class_bug" = "no"; then/"$ac_cv_have_visibility_class_bug" = "no" -a "$OS_ARCH" != "FreeBSD" ; then/' configure.orig >configure ++ # We want separate debug/release versions of the library, so we have to change # the LIBRARY_NAME for each build. # (We use perl instead of sed so that it works with MozillaBuild on Windows, Added: head/games/0ad/files/patch-source-lib-debug.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/0ad/files/patch-source-lib-debug.cpp Fri Dec 28 21:18:10 2012 (r309587) @@ -0,0 +1,11 @@ +--- source/lib/debug.cpp.orig 2012-12-27 22:33:04.665325819 +0100 ++++ source/lib/debug.cpp 2012-12-27 22:34:32.369332795 +0100 +@@ -353,6 +353,8 @@ + // exit really doesn't want to see any more messages. + static atomic_bool isExiting; + ++const atomic_bool DEBUG_SUPPRESS = 0xAB; ++ + // this logic is applicable to any type of error. special cases such as + // suppressing certain expected WARN_ERRs are done there. + static bool ShouldSuppressError(atomic_bool* suppress) Added: head/games/0ad/files/patch-source-lib-debug.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/0ad/files/patch-source-lib-debug.h Fri Dec 28 21:18:10 2012 (r309587) @@ -0,0 +1,11 @@ +--- source/lib/debug.h.orig 2012-12-27 22:32:56.384331917 +0100 ++++ source/lib/debug.h 2012-12-27 22:33:41.699327215 +0100 +@@ -122,7 +122,7 @@ + * debugging the symbol engine. + * use 0 as the initial value to avoid allocating .rdata space. + **/ +-const atomic_bool DEBUG_SUPPRESS = 0xAB; ++extern const atomic_bool DEBUG_SUPPRESS; + + /** + * choices offered by the error dialog that are returned _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: analyzed->closed Committed with changes. Thanks!