Date: Thu, 19 Jan 2017 05:13:55 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r431843 - in branches/2017Q1/lang/spidermonkey24: . files Message-ID: <201701190513.v0J5DtTD039908@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Jan 19 05:13:54 2017 New Revision: 431843 URL: https://svnweb.freebsd.org/changeset/ports/431843 Log: MFH: r431816 lang/spidermonkey24: prefer pre-C++11 decltype from libc++ libc++ 4.0 started to use it within <string> in a way incompatible with __typeof__ which broke build but upstream switched to C++11 long ago to notice -Wmacro-redefined. PR: 216010 Approved by: ports-secteam (junovitch) Added: branches/2017Q1/lang/spidermonkey24/files/patch-mfbt_Types.h - copied unchanged from r431816, head/lang/spidermonkey24/files/patch-mfbt_Types.h Modified: branches/2017Q1/lang/spidermonkey24/Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/lang/spidermonkey24/Makefile ============================================================================== --- branches/2017Q1/lang/spidermonkey24/Makefile Thu Jan 19 05:12:03 2017 (r431842) +++ branches/2017Q1/lang/spidermonkey24/Makefile Thu Jan 19 05:13:54 2017 (r431843) @@ -3,7 +3,7 @@ PORTNAME= spidermonkey24 PORTVERSION= 24.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang MASTER_SITES= MOZILLA/js #http://people.mozilla.org/~sstangl/ Copied: branches/2017Q1/lang/spidermonkey24/files/patch-mfbt_Types.h (from r431816, head/lang/spidermonkey24/files/patch-mfbt_Types.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q1/lang/spidermonkey24/files/patch-mfbt_Types.h Thu Jan 19 05:13:54 2017 (r431843, copy of r431816, head/lang/spidermonkey24/files/patch-mfbt_Types.h) @@ -0,0 +1,12 @@ +--- ../../mfbt/Types.h.orig 2013-10-29 20:40:19 UTC ++++ ../../mfbt/Types.h +@@ -138,7 +138,9 @@ + */ + #if defined(__GNUC__) && defined(__cplusplus) && \ + !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L ++# ifndef decltype + # define decltype __typeof__ ++# endif + #endif + + #endif /* mozilla_Types_h_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701190513.v0J5DtTD039908>