[109282] trunk/dports/devel/ld64
jeremyhu at macports.org
jeremyhu at macports.org
Sun Aug 11 23:49:50 PDT 2013
Revision: 109282
https://trac.macports.org/changeset/109282
Author: jeremyhu at macports.org
Date: 2013-08-11 23:49:50 -0700 (Sun, 11 Aug 2013)
Log Message:
-----------
ld64: Tiger/ppc build fix (#38931)
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Added Paths:
-----------
trunk/dports/devel/ld64/files/ld64-97-arm_types_PR38931.patch
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2013-08-12 06:46:45 UTC (rev 109281)
+++ trunk/dports/devel/ld64/Portfile 2013-08-12 06:49:50 UTC (rev 109282)
@@ -88,7 +88,7 @@
set makefile "Makefile-97"
patchfiles-delete ld64-133-no-CrashReporterClient.h.patch ld64-134-missing-include.patch ld64-136-i386-badAddress.patch
- patchfiles-append ld64-97-no-LTO.patch ld64-97-ppc-branch-island.patch
+ patchfiles-append ld64-97-no-LTO.patch ld64-97-ppc-branch-island.patch ld64-97-arm_types_PR38931.patch
} elseif {${os.major} < 11} {
# XCode 4.2
# This was the last ld64 release that supported linking ppc executables.
Added: trunk/dports/devel/ld64/files/ld64-97-arm_types_PR38931.patch
===================================================================
--- trunk/dports/devel/ld64/files/ld64-97-arm_types_PR38931.patch (rev 0)
+++ trunk/dports/devel/ld64/files/ld64-97-arm_types_PR38931.patch 2013-08-12 06:49:50 UTC (rev 109282)
@@ -0,0 +1,28 @@
+--- src/abstraction/MachOFileAbstraction.hpp.orig 2009-05-13 17:40:39.000000000 -0700
++++ src/abstraction/MachOFileAbstraction.hpp 2013-08-11 23:47:51.000000000 -0700
+@@ -40,6 +40,12 @@
+
+
+ // stuff that will eventually go away once newer cctools headers are widespread
++#ifndef CPU_SUBTYPE_ARM_V4T
++ #define CPU_SUBTYPE_ARM_V4T ((cpu_subtype_t) 5)
++#endif
++#ifndef CPU_SUBTYPE_ARM_V6
++ #define CPU_SUBTYPE_ARM_V6 ((cpu_subtype_t) 6)
++#endif
+ #ifndef CPU_SUBTYPE_ARM_V5TEJ
+ #define CPU_SUBTYPE_ARM_V5TEJ ((cpu_subtype_t) 7)
+ #endif
+@@ -49,6 +55,12 @@
+ #ifndef CPU_SUBTYPE_ARM_V7
+ #define CPU_SUBTYPE_ARM_V7 ((cpu_subtype_t) 9)
+ #endif
++#ifndef CPU_SUBTYPE_ARM_ALL
++ #define CPU_SUBTYPE_ARM_ALL ((cpu_subtype_t) 12)
++#endif
++#ifndef CPU_TYPE_ARM
++ #define CPU_TYPE_ARM ((cpu_type_t) 12)
++#endif
+ #ifndef ARM_THUMB_32BIT_BRANCH
+ #define ARM_THUMB_32BIT_BRANCH 7
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130811/e69578dd/attachment.html>
More information about the macports-changes
mailing list