From owner-svn-ports-head@FreeBSD.ORG Fri Dec 28 21:18:12 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69CD9524; Fri, 28 Dec 2012 21:18:12 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4478FC08; Fri, 28 Dec 2012 21:18:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBSLICqH005288; Fri, 28 Dec 2012 21:18:12 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBSLIBAD005282; Fri, 28 Dec 2012 21:18:11 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201212282118.qBSLIBAD005282@svn.freebsd.org> From: Guido Falsi Date: Fri, 28 Dec 2012 21:18:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309587 - in head/games/0ad: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 21:18:12 -0000 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 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 \ +#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