[100885] trunk/dports/devel/ld64
jeremyhu at macports.org
jeremyhu at macports.org
Sun Dec 30 20:14:09 PST 2012
Revision: 100885
https://trac.macports.org/changeset/100885
Author: jeremyhu at macports.org
Date: 2012-12-30 20:14:09 -0800 (Sun, 30 Dec 2012)
Log Message:
-----------
ld64: Explicitly include <pthread.h> to avoid possible build failure
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Added Paths:
-----------
trunk/dports/devel/ld64/files/ld64-134-missing-include.patch
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2012-12-31 03:49:02 UTC (rev 100884)
+++ trunk/dports/devel/ld64/Portfile 2012-12-31 04:14:09 UTC (rev 100885)
@@ -25,7 +25,7 @@
checksums rmd160 9464743da9603af5e5a8f27c51e2fea177e0c1c5 \
sha256 938bad7aa53999ca9e2b6e6d55a1ccbec0bd2afc743ce8c1a0e8f9ccc6d6df1b
-patchfiles ld64-version.patch ld64-133-no-CrashReporterClient.h.patch ld64-134-PR-36654.patch
+patchfiles ld64-version.patch ld64-133-no-CrashReporterClient.h.patch ld64-134-PR-36654.patch ld64-134-missing-include.patch
# We don't set llvmXX as the default variant on Tiger because it would introduce a
# dependency cycle as llvm requires apple-gcc42 and ld64 to build correctly. Users
@@ -77,7 +77,7 @@
set makefile "Makefile-97"
- patchfiles-delete ld64-133-no-CrashReporterClient.h.patch ld64-134-PR-36654.patch
+ patchfiles-delete ld64-133-no-CrashReporterClient.h.patch ld64-134-PR-36654.patch ld64-134-missing-include.patch
patchfiles-append ld64-97-no-LTO.patch ld64-97-ppc-branch-island.patch
} elseif {${os.major} < 11} {
# XCode 4.2
Added: trunk/dports/devel/ld64/files/ld64-134-missing-include.patch
===================================================================
--- trunk/dports/devel/ld64/files/ld64-134-missing-include.patch (rev 0)
+++ trunk/dports/devel/ld64/files/ld64-134-missing-include.patch 2012-12-31 04:14:09 UTC (rev 100885)
@@ -0,0 +1,11 @@
+--- src/ld/parsers/lto_file.cpp.orig 2012-12-30 20:08:12.000000000 -0800
++++ src/ld/parsers/lto_file.cpp 2012-12-30 20:08:32.000000000 -0800
+@@ -35,6 +35,8 @@
+ #include <ext/hash_set>
+ #include <ext/hash_map>
+
++#include <pthread.h>
++
+ #include "MachOFileAbstraction.hpp"
+ #include "Architectures.hpp"
+ #include "ld.hpp"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121230/35778f2d/attachment.html>
More information about the macports-changes
mailing list