[135084] trunk/dports/lang/libcxxabi

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 15 05:34:15 PDT 2015


Revision: 135084
          https://trac.macports.org/changeset/135084
Author:   jeremyhu at macports.org
Date:     2015-04-15 05:34:15 -0700 (Wed, 15 Apr 2015)
Log Message:
-----------
libcxxabi: Fix a bincompat bug (https://llvm.org/bugs/show_bug.cgi?id=23238)

Modified Paths:
--------------
    trunk/dports/lang/libcxxabi/Portfile

Added Paths:
-----------
    trunk/dports/lang/libcxxabi/files/PR-23238.patch

Modified: trunk/dports/lang/libcxxabi/Portfile
===================================================================
--- trunk/dports/lang/libcxxabi/Portfile	2015-04-15 12:19:40 UTC (rev 135083)
+++ trunk/dports/lang/libcxxabi/Portfile	2015-04-15 12:34:15 UTC (rev 135084)
@@ -5,6 +5,7 @@
 
 name                    libcxxabi
 version                 3.6.0
+revision                1
 epoch                   1
 categories              lang
 platforms               darwin
@@ -34,7 +35,8 @@
 
 patch.pre_args          -p1
 patchfiles \
-    0001-Revert-Make-libc-abi-use-the-implementation-of-__num.patch
+    0001-Revert-Make-libc-abi-use-the-implementation-of-__num.patch \
+    PR-23238.patch 
 
 variant universal {}
 use_configure no

Added: trunk/dports/lang/libcxxabi/files/PR-23238.patch
===================================================================
--- trunk/dports/lang/libcxxabi/files/PR-23238.patch	                        (rev 0)
+++ trunk/dports/lang/libcxxabi/files/PR-23238.patch	2015-04-15 12:34:15 UTC (rev 135084)
@@ -0,0 +1,13 @@
+https://llvm.org/bugs/show_bug.cgi?id=23238
+
+--- a/src/cxa_handlers.cpp	2014-10-03 13:03:47.000000000 -0700
++++ b/src/cxa_handlers.cpp	2015-04-15 05:26:25.000000000 -0700
+@@ -102,7 +102,7 @@ terminate() _NOEXCEPT
+     __terminate(get_terminate());
+ }
+ 
+-new_handler __cxa_new_handler = 0;
++extern "C" new_handler __cxa_new_handler = 0;
+ // In the future these will become:
+ // std::atomic<std::new_handler>  __cxa_new_handler(0);
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150415/d78a353d/attachment.html>


More information about the macports-changes mailing list