From owner-svn-ports-all@FreeBSD.ORG Wed Mar 25 14:30:41 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D4DE6AC; Wed, 25 Mar 2015 14:30:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07011C6B; Wed, 25 Mar 2015 14:30:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2PEUeaR006982; Wed, 25 Mar 2015 14:30:40 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2PEUerS006980; Wed, 25 Mar 2015 14:30:40 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201503251430.t2PEUerS006980@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Wed, 25 Mar 2015 14:30:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382218 - 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:30:41 -0000 Author: madpilot Date: Wed Mar 25 14:30:39 2015 New Revision: 382218 URL: https://svnweb.freebsd.org/changeset/ports/382218 QAT: https://qat.redports.org/buildarchive/r382218/ Log: Fix build with clang 3.6.0. Modified: head/games/0ad/files/patch-libraries__source__spidermonkey__build.sh Modified: head/games/0ad/files/patch-libraries__source__spidermonkey__build.sh ============================================================================== --- head/games/0ad/files/patch-libraries__source__spidermonkey__build.sh Wed Mar 25 14:24:55 2015 (r382217) +++ head/games/0ad/files/patch-libraries__source__spidermonkey__build.sh Wed Mar 25 14:30:39 2015 (r382218) @@ -1,8 +1,8 @@ ---- libraries/source/spidermonkey/build.sh.orig 2014-09-24 08:29:20 UTC +--- libraries/source/spidermonkey/build.sh.orig 2015-01-24 14:46:52 UTC +++ libraries/source/spidermonkey/build.sh -@@ -66,6 +66,14 @@ - - cd mozjs24/js/src +@@ -95,6 +95,14 @@ cd mozjs31/js/src + rm -rf build-debug + rm -rf build-release +cp jsnativestack.cpp jsnativestack.cpp.orig +sed 's/# include /#pragma GCC visibility push(default)\ @@ -10,7 +10,7 @@ +#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 ++sed -e 's/"$ac_cv_have_visibility_class_bug" = "no"; then/"$ac_cv_have_visibility_class_bug" = "no" -a "$OS_ARCH" != "FreeBSD" ; then/' -e 's/-Werror=conversion-null//' configure.orig >configure + # We want separate debug/release versions of the library, so we have to change # the LIBRARY_NAME for each build.