[131792] trunk/dports/lang/llvm-3.4
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 18 11:23:52 PST 2015
Revision: 131792
https://trac.macports.org/changeset/131792
Author: jeremyhu at macports.org
Date: 2015-01-18 11:23:51 -0800 (Sun, 18 Jan 2015)
Log Message:
-----------
llvm-3.4: Fix another Tiger issue (also reported in #39849)
Modified Paths:
--------------
trunk/dports/lang/llvm-3.4/Portfile
trunk/dports/lang/llvm-3.4/files/0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch
trunk/dports/lang/llvm-3.4/files/0002-MacPorts-Only-Skip-checking-for-python-in-configure.patch
trunk/dports/lang/llvm-3.4/files/0003-MacPorts-Only-Fix-sample-project-regex-to-work-with-.patch
trunk/dports/lang/llvm-3.4/files/0004-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch
trunk/dports/lang/llvm-3.4/files/0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch
trunk/dports/lang/llvm-3.4/files/0006-Fix-dylib-install-name-when-building-on-Tiger.patch
Added Paths:
-----------
trunk/dports/lang/llvm-3.4/files/0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch
Modified: trunk/dports/lang/llvm-3.4/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.4/Portfile 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/Portfile 2015-01-18 19:23:51 UTC (rev 131792)
@@ -113,7 +113,8 @@
0003-MacPorts-Only-Fix-sample-project-regex-to-work-with-.patch \
0004-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch \
0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch \
- 0006-Fix-dylib-install-name-when-building-on-Tiger.patch
+ 0006-Fix-dylib-install-name-when-building-on-Tiger.patch \
+ 0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch
if {${subport} eq "clang-${llvm_version}"} {
patchfiles-append \
Modified: trunk/dports/lang/llvm-3.4/files/0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From 8462fd916cfd76a4871e67cac0527d67bd65b5f6 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat, 17 Jan 2015 16:33:09 -0800
-Subject: [PATCH 1/6] MacPorts Only: Update install targets for clang subport
+Subject: [PATCH 1/7] MacPorts Only: Update install targets for clang subport
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
(cherry picked from commit b514fa09a560de0b3241c6af0d134bae09a6aec3)
Modified: trunk/dports/lang/llvm-3.4/files/0002-MacPorts-Only-Skip-checking-for-python-in-configure.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0002-MacPorts-Only-Skip-checking-for-python-in-configure.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0002-MacPorts-Only-Skip-checking-for-python-in-configure.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From dc6e6e5c54168582a1127126797ae34cd8668b5b Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat, 17 Jan 2015 16:43:00 -0800
-Subject: [PATCH 2/6] MacPorts Only: Skip checking for python in configure
+Subject: [PATCH 2/7] MacPorts Only: Skip checking for python in configure
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
(cherry picked from commit cf8cce2b5201c8113a73bb2c0c5e5f6a2d9085b8)
Modified: trunk/dports/lang/llvm-3.4/files/0003-MacPorts-Only-Fix-sample-project-regex-to-work-with-.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0003-MacPorts-Only-Fix-sample-project-regex-to-work-with-.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0003-MacPorts-Only-Fix-sample-project-regex-to-work-with-.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From f44378e03d9806b0b528b8589a4c705a9c564889 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat, 17 Jan 2015 18:52:14 -0800
-Subject: [PATCH 3/6] MacPorts Only: Fix sample project regex to work with
+Subject: [PATCH 3/7] MacPorts Only: Fix sample project regex to work with
multiple digit versions
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Modified: trunk/dports/lang/llvm-3.4/files/0004-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0004-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0004-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From 93300e85de8ff472bd8bfba2850ad9111eb0c080 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sat, 17 Jan 2015 09:03:43 -0800
-Subject: [PATCH 4/6] Set the Mach-O CPU Subtype to ppc7400 when targeting
+Subject: [PATCH 4/7] Set the Mach-O CPU Subtype to ppc7400 when targeting
Leopard
http://llvm.org/bugs/show_bug.cgi?id=18463
Modified: trunk/dports/lang/llvm-3.4/files/0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From 05ff848a0f4643678c5cfa3e56cdacbd40baa15a Mon Sep 17 00:00:00 2001
From: David Fang <fang at csl.cornell.edu>
Date: Wed, 12 Feb 2014 21:02:12 +0000
-Subject: [PATCH 5/6] _CS_DARWIN_USER macros available on darwin>=9. Thanks,
+Subject: [PATCH 5/7] _CS_DARWIN_USER macros available on darwin>=9. Thanks,
Dave Odell!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201255 91177308-0d34-0410-b5e6-96231b3b80d8
Modified: trunk/dports/lang/llvm-3.4/files/0006-Fix-dylib-install-name-when-building-on-Tiger.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0006-Fix-dylib-install-name-when-building-on-Tiger.patch 2015-01-18 18:56:27 UTC (rev 131791)
+++ trunk/dports/lang/llvm-3.4/files/0006-Fix-dylib-install-name-when-building-on-Tiger.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -1,7 +1,7 @@
From 0e2fd2e555599cc88b757a40ea69ab2d70bc1811 Mon Sep 17 00:00:00 2001
From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
Date: Sun, 18 Jan 2015 02:03:41 -0800
-Subject: [PATCH 6/6] Fix dylib install name when building on Tiger
+Subject: [PATCH 6/7] Fix dylib install name when building on Tiger
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
---
Added: trunk/dports/lang/llvm-3.4/files/0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch (rev 0)
+++ trunk/dports/lang/llvm-3.4/files/0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch 2015-01-18 19:23:51 UTC (rev 131792)
@@ -0,0 +1,37 @@
+From 2716eb2f8896ec7bd3e59eb7c24bd200272d182c Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Sun, 18 Jan 2015 11:18:13 -0800
+Subject: [PATCH 7/7] Define EXC_MASK_CRASH and MACH_EXCEPTION_CODES if they're
+ not defined in the SDK
+
+The 10.4 SDK does not define these macros
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+(cherry picked from commit f7e29b21119d99f743e47fd13182083b7598e1f7)
+---
+ lib/Support/Unix/Signals.inc | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git llvm_release_34/lib/Support/Unix/Signals.inc macports_release_34/lib/Support/Unix/Signals.inc
+index b4c78d6..71f231c 100644
+--- llvm_release_34/lib/Support/Unix/Signals.inc
++++ macports_release_34/lib/Support/Unix/Signals.inc
+@@ -334,6 +334,15 @@ void llvm::sys::PrintStackTraceOnErrorSignal() {
+ AddSignalHandler(PrintStackTraceSignalHandler, 0);
+
+ #if defined(__APPLE__) && defined(ENABLE_CRASH_OVERRIDES)
++
++/* These aren't defined in the 10.4 SDK, so provide them here */
++#ifndef EXC_MASK_CRASH
++#define EXC_MASK_CRASH 0x400
++#endif
++#ifndef MACH_EXCEPTION_CODES
++#define MACH_EXCEPTION_CODES 0x80000000
++#endif
++
+ // Environment variable to disable any kind of crash dialog.
+ if (getenv("LLVM_DISABLE_CRASH_REPORT")) {
+ mach_port_t self = mach_task_self();
+--
+2.2.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150118/1cd7caa2/attachment-0001.html>
More information about the macports-changes
mailing list