<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[131766] trunk/dports/lang/llvm-3.5</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/131766">131766</a></dd>
<dt>Author</dt> <dd>jeremyhu@macports.org</dd>
<dt>Date</dt> <dd>2015-01-17 21:06:45 -0800 (Sat, 17 Jan 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>llvm-3.5: Remove irrelevant patches, add a patch for ppc buildfix</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangllvm35Portfile">trunk/dports/lang/llvm-3.5/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportslangllvm35files2007Ondarwinbuildppcslicesofthecompilerruntimeipatch">trunk/dports/lang/llvm-3.5/files/2007-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportslangllvm35files0000MacPortsOnlyHelperscriptforgeneratingpatchespatch">trunk/dports/lang/llvm-3.5/files/0000-MacPorts-Only-Helper-script-for-generating-patches.patch</a></li>
<li><a href="#trunkdportslangllvm35files1000MacPortsOnlyHelperscriptforgeneratingpatchespatch">trunk/dports/lang/llvm-3.5/files/1000-MacPorts-Only-Helper-script-for-generating-patches.patch</a></li>
<li><a href="#trunkdportslangllvm35files2000MacPortsOnlyHelperscriptforgeneratingpatchespatch">trunk/dports/lang/llvm-3.5/files/2000-MacPorts-Only-Helper-script-for-generating-patches.patch</a></li>
<li><a href="#trunkdportslangllvm35files2001MacPortsOnlyCommentoutSLcctoolsworkaroundpatch">trunk/dports/lang/llvm-3.5/files/2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch</a></li>
<li><a href="#trunkdportslangllvm35files2002Donotbuildaseparatex86_64hHaswellsliceforthpatch">trunk/dports/lang/llvm-3.5/files/2002-Do-not-build-a-separate-x86_64h-Haswell-slice-for-th.patch</a></li>
<li><a href="#trunkdportslangllvm35files2003BuildDarwinlibclang_rtlibrariesagainstrealSDKspatch">trunk/dports/lang/llvm-3.5/files/2003-Build-Darwin-libclang_rt-libraries-against-real-SDKs.patch</a></li>
<li><a href="#trunkdportslangllvm35files2004Cleanupindentationafterpreviouschangepatch">trunk/dports/lang/llvm-3.5/files/2004-Clean-up-indentation-after-previous-change.patch</a></li>
<li><a href="#trunkdportslangllvm35files2005UpdateCheckArchestofallbackonIntelppcifldvpatch">trunk/dports/lang/llvm-3.5/files/2005-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch</a></li>
<li><a href="#trunkdportslangllvm35files2006Fallbackonxcodebuildsdkwhenxcrunsdkisnotsupatch">trunk/dports/lang/llvm-3.5/files/2006-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch</a></li>
<li><a href="#trunkdportslangllvm35files3000MacPortsOnlyHelperscriptforgeneratingpatchespatch">trunk/dports/lang/llvm-3.5/files/3000-MacPorts-Only-Helper-script-for-generating-patches.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangllvm35Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/llvm-3.5/Portfile (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/Portfile        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/Portfile        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -115,7 +115,6 @@
</span><span class="cx"> 
</span><span class="cx"> patch.pre_args  -p1
</span><span class="cx"> patchfiles    \
</span><del>-        0000-MacPorts-Only-Helper-script-for-generating-patches.patch \
</del><span class="cx">         0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch \
</span><span class="cx">         0002-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch \
</span><span class="cx">         0003-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch \
</span><span class="lines">@@ -124,21 +123,19 @@
</span><span class="cx"> 
</span><span class="cx"> if {${subport} eq &quot;clang-${llvm_version}&quot;} {
</span><span class="cx">     patchfiles-append \
</span><del>-        1000-MacPorts-Only-Helper-script-for-generating-patches.patch \
</del><span class="cx">         1001-MacPorts-Only-Prepare-clang-format-for-replacement-w.patch \
</span><span class="cx">         1002-MacPorts-Only-Fix-name-of-scan-view-executable-insid.patch \
</span><span class="cx">         1003-MacPorts-Only-Fix-libclang_rt-dylib-ids.patch \
</span><span class="cx">         1004-MacPorts-Only-Relocate-clang-resources-using-llvm-ve.patch \
</span><span class="cx">         1005-Call-powerpc-darwin-external-tools-with-arch-ppc.patch \
</span><span class="cx">         1006-Default-to-ppc7400-for-OSX-10.5.patch \
</span><del>-        2000-MacPorts-Only-Helper-script-for-generating-patches.patch \
</del><span class="cx">         2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch \
</span><span class="cx">         2002-Do-not-build-a-separate-x86_64h-Haswell-slice-for-th.patch \
</span><span class="cx">         2003-Build-Darwin-libclang_rt-libraries-against-real-SDKs.patch \
</span><span class="cx">         2004-Clean-up-indentation-after-previous-change.patch \
</span><span class="cx">         2005-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch \
</span><span class="cx">         2006-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch \
</span><del>-        3000-MacPorts-Only-Helper-script-for-generating-patches.patch \
</del><ins>+        2007-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch \
</ins><span class="cx">         3001-buildit-build-fix-for-Leopard.patch \
</span><span class="cx">         3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch \
</span><span class="cx">         3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch \
</span></span></pre></div>
<a id="trunkdportslangllvm35files0000MacPortsOnlyHelperscriptforgeneratingpatchespatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/0000-MacPorts-Only-Helper-script-for-generating-patches.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/0000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/0000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-From 0f5238c04fa58298341104cc592fe204cf36df95 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 17 Jan 2015 16:46:30 -0800
-Subject: [PATCH 0/5] MacPorts Only: Helper script for generating patches
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit d528883e9c6a2f9e957738571e4ddd67bbe597a0)
----
- create_macports_patches.sh | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- create mode 100755 create_macports_patches.sh
-
-diff --git llvm_release_35/create_macports_patches.sh macports_release_35/create_macports_patches.sh
-new file mode 100755
-index 0000000..02b1b11
---- /dev/null
-+++ macports_release_35/create_macports_patches.sh
-@@ -0,0 +1,11 @@
-+#!/bin/bash
-+
-+parse_git_branch()
-+{
-+    ref=$(git symbolic-ref HEAD 2&gt; /dev/null) || return;
-+    echo ${ref#refs/heads/}
-+}
-+
-+branch=$(parse_git_branch)
-+
-+git format-patch origin/${branch} --src-prefix=llvm_${branch}/ --dst-prefix=macports_${branch}/ --start-number=0000
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files1000MacPortsOnlyHelperscriptforgeneratingpatchespatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/1000-MacPorts-Only-Helper-script-for-generating-patches.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/1000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/1000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-From e66ecc100df472f6bef60da6a4b5a2f127a393a8 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 17 Jan 2015 17:48:39 -0800
-Subject: [PATCH 1000/1006] MacPorts Only: Helper script for generating patches
-
-(cherry picked from commit 3b10caae75afbafcea4b29f5b780dd5a3d684694)
----
- create_macports_patches.sh | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- create mode 100755 create_macports_patches.sh
-
-diff --git llvm_release_35/tools/clang/create_macports_patches.sh macports_release_35/tools/clang/create_macports_patches.sh
-new file mode 100755
-index 0000000..e51c371
---- /dev/null
-+++ macports_release_35/tools/clang/create_macports_patches.sh
-@@ -0,0 +1,11 @@
-+#!/bin/bash
-+
-+parse_git_branch()
-+{
-+    ref=$(git symbolic-ref HEAD 2&gt; /dev/null) || return;
-+    echo ${ref#refs/heads/}
-+}
-+
-+branch=$(parse_git_branch)
-+
-+git format-patch origin/${branch} --src-prefix=llvm_${branch}/tools/clang/ --dst-prefix=macports_${branch}/tools/clang/ --start-number=1000
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2000MacPortsOnlyHelperscriptforgeneratingpatchespatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2000-MacPorts-Only-Helper-script-for-generating-patches.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-From 4d88b179de726032cf0f07b139844911bc14278a Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 17 Jan 2015 17:25:13 -0800
-Subject: [PATCH 2000/2006] MacPorts Only: Helper script for generating patches
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit aef4d1dce0385f1e897fe7d1f511f7fd8a1ae322)
----
- create_macports_patches.sh | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- create mode 100755 create_macports_patches.sh
-
-diff --git llvm_release_35/projects/compiler-rt/create_macports_patches.sh macports_release_35/projects/compiler-rt/create_macports_patches.sh
-new file mode 100755
-index 0000000..4d0bc99
---- /dev/null
-+++ macports_release_35/projects/compiler-rt/create_macports_patches.sh
-@@ -0,0 +1,11 @@
-+#!/bin/bash
-+
-+parse_git_branch()
-+{
-+    ref=$(git symbolic-ref HEAD 2&gt; /dev/null) || return;
-+    echo ${ref#refs/heads/}
-+}
-+
-+branch=$(parse_git_branch)
-+
-+git format-patch origin/${branch} --src-prefix=llvm_${branch}/projects/compiler-rt/ --dst-prefix=macports_${branch}/projects/compiler-rt/ --start-number=2000
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2001MacPortsOnlyCommentoutSLcctoolsworkaroundpatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-From 6bbdf306119e75b71b2ef893f77d668d9ae85e0a Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Mon, 15 Apr 2013 22:38:18 -0700
-Subject: [PATCH 2001/2006] MacPorts Only: Comment out SL cctools workaround
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit 2972ffafff4a394f521986b47810324cd1b7e3ba)
----
- make/platform/clang_darwin.mk | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 50f8b01..2e455e5 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -110,12 +110,12 @@ UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx)
- # object files. If we are on that platform, strip out all ARM archs. We still
- # build the libraries themselves so that Clang can find them where it expects
- # them, even though they might not have an expected slice.
--ifneq ($(shell test -x /usr/bin/sw_vers &amp;&amp; sw_vers -productVersion | grep 10.6),)
--UniversalArchs.ios := $(filter-out armv7, $(UniversalArchs.ios))
--UniversalArchs.cc_kext := $(filter-out armv7, $(UniversalArchs.cc_kext))
--UniversalArchs.cc_kext_ios5 := $(filter-out armv7, $(UniversalArchs.cc_kext_ios5))
--UniversalArchs.profile_ios := $(filter-out armv7, $(UniversalArchs.profile_ios))
--endif
-+#ifneq ($(shell test -x /usr/bin/sw_vers &amp;&amp; sw_vers -productVersion | grep 10.6),)
-+#UniversalArchs.ios := $(filter-out armv7, $(UniversalArchs.ios))
-+#UniversalArchs.cc_kext := $(filter-out armv7, $(UniversalArchs.cc_kext))
-+#UniversalArchs.cc_kext_ios5 := $(filter-out armv7, $(UniversalArchs.cc_kext_ios5))
-+#UniversalArchs.profile_ios := $(filter-out armv7, $(UniversalArchs.profile_ios))
-+#endif

- # If RC_SUPPORTED_ARCHS is defined, treat it as a list of the architectures we
- # are intended to support and limit what we try to build to that.
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2002Donotbuildaseparatex86_64hHaswellsliceforthpatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2002-Do-not-build-a-separate-x86_64h-Haswell-slice-for-th.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2002-Do-not-build-a-separate-x86_64h-Haswell-slice-for-th.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2002-Do-not-build-a-separate-x86_64h-Haswell-slice-for-th.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,84 +0,0 @@
</span><del>-From b97ea4165e1e20a6937d34af8460a8a9008ddef9 Mon Sep 17 00:00:00 2001
-From: Bob Wilson &lt;bob.wilson@apple.com&gt;
-Date: Mon, 10 Nov 2014 17:05:21 +0000
-Subject: [PATCH 2002/2006] Do not build a separate x86_64h Haswell slice for
- the iOS simulator.
-
-r199996 added new x86_64h slices for all the Darwin compiler_rt libraries
-that had an x86_64 slice, but that is overkill for the iOS Simulator
-platform where the x86_64h slice is never used.
-
-git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221610 91177308-0d34-0410-b5e6-96231b3b80d8
-(cherry picked from commit 60927db68941599e8e1bda74e64a1142642f3829)
-
-Conflicts:
-        make/platform/clang_darwin.mk
----
- make/platform/clang_darwin.mk | 11 ++++-------
- 1 file changed, 4 insertions(+), 7 deletions(-)
-
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 2e455e5..4030383 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -71,7 +71,7 @@ UniversalArchs.10.4 := $(call CheckArches,i386 x86_64,10.4)
- # Configuration for targeting iOS for a couple of functions that didn't
- # make it into libSystem.
- Configs += ios
--UniversalArchs.ios := $(call CheckArches,i386 x86_64 x86_64h armv7,ios)
-+UniversalArchs.ios := $(call CheckArches,i386 x86_64 armv7,ios)

- # Configuration for targeting OSX. These functions may not be in libSystem
- # so we should provide our own.
-@@ -85,13 +85,13 @@ UniversalArchs.cc_kext := $(call CheckArches,armv7 i386 x86_64 x86_64h,cc_kext)
- # Configuration for use with kernel/kexts for iOS 5.0 and earlier (which used 
- # a different code generation strategy).
- Configs += cc_kext_ios5
--UniversalArchs.cc_kext_ios5 := $(call CheckArches,x86_64 x86_64h armv7,cc_kext_ios5)
-+UniversalArchs.cc_kext_ios5 := $(call CheckArches,x86_64 armv7,cc_kext_ios5)

- # Configurations which define the profiling support functions.
- Configs += profile_osx
- UniversalArchs.profile_osx := $(call CheckArches,i386 x86_64 x86_64h,profile_osx)
- Configs += profile_ios
--UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 x86_64h armv7,profile_ios)
-+UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)

- # Configurations which define the ASAN support functions.
- Configs += asan_osx_dynamic
-@@ -100,7 +100,7 @@ UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64 x86_64h,asan_o
- IOSSIM_SDK_PATH := $(call XCRunSdkPath,iphonesimulator)
- ifneq ($(IOSSIM_SDK_PATH),)
- Configs += asan_iossim_dynamic
--UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64 x86_64h,asan_iossim_dynamic)
-+UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic)
- endif

- Configs += ubsan_osx
-@@ -172,7 +172,6 @@ CFLAGS.ubsan_osx := $(CFLAGS) -mmacosx-version-min=10.6 -fno-builtin

- CFLAGS.ios.i386                := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
- CFLAGS.ios.x86_64        := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
--CFLAGS.ios.x86_64h        := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
- CFLAGS.ios.armv7        := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
- CFLAGS.ios.armv7k        := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
- CFLAGS.ios.armv7s        := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
-@@ -193,7 +192,6 @@ CFLAGS.profile_osx.x86_64  := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- CFLAGS.profile_osx.x86_64h := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- CFLAGS.profile_ios.i386    := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
- CFLAGS.profile_ios.x86_64  := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
--CFLAGS.profile_ios.x86_64h := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
- CFLAGS.profile_ios.armv7  := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
- CFLAGS.profile_ios.armv7k := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
- CFLAGS.profile_ios.armv7s := $(CFLAGS) $(IOS_DEPLOYMENT_ARGS)
-@@ -218,7 +216,6 @@ FUNCTIONS.ios            := divmodsi4 udivmodsi4 mulosi4 mulodi4 muloti4
- FUNCTIONS.ios.i386    := $(FUNCTIONS.ios) \
-                          divsi3 udivsi3
- FUNCTIONS.ios.x86_64  := $(FUNCTIONS.ios.i386)
--FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64)

- FUNCTIONS.osx        := mulosi4 mulodi4 muloti4

--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2003BuildDarwinlibclang_rtlibrariesagainstrealSDKspatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2003-Build-Darwin-libclang_rt-libraries-against-real-SDKs.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2003-Build-Darwin-libclang_rt-libraries-against-real-SDKs.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2003-Build-Darwin-libclang_rt-libraries-against-real-SDKs.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,830 +0,0 @@
</span><del>-From b685e04c707b14dbf27fc0d7d2ba9d3649fea5bb Mon Sep 17 00:00:00 2001
-From: Bob Wilson &lt;bob.wilson@apple.com&gt;
-Date: Mon, 10 Nov 2014 19:38:15 +0000
-Subject: [PATCH 2003/2006] Build Darwin libclang_rt libraries against real
- SDKs.
-
-The minimal fake SDK was very useful in allowing us to build for all
-Darwin platforms without needing access to the real SDKs, but it did
-not support building any of the sanitizer runtimes. It's important to
-fix that. As a consequence, if you don't have the iOS SDKs installed,
-we will now skip building the iOS-specific libclang_rt libraries.
-rdar://problem/18825276
-
-git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221621 91177308-0d34-0410-b5e6-96231b3b80d8
-(cherry picked from commit f028d70fcadd9b6c4d3ce1dd1af89703e422f6fa)
-
-Conflicts:
-        SDKs/darwin/usr/include/stdio.h
-        SDKs/darwin/usr/include/string.h
-        SDKs/darwin/usr/include/sys/fcntl.h
-        make/platform/clang_darwin.mk
----
- CMakeLists.txt                      |  1 -
- SDKs/darwin/README.txt              |  3 --
- SDKs/darwin/usr/include/errno.h     | 17 -------
- SDKs/darwin/usr/include/fcntl.h     | 17 -------
- SDKs/darwin/usr/include/inttypes.h  | 86 -----------------------------------
- SDKs/darwin/usr/include/limits.h    | 23 ----------
- SDKs/darwin/usr/include/stdio.h     | 90 -------------------------------------
- SDKs/darwin/usr/include/stdlib.h    | 32 -------------
- SDKs/darwin/usr/include/string.h    | 52 ---------------------
- SDKs/darwin/usr/include/sys/errno.h | 31 -------------
- SDKs/darwin/usr/include/sys/fcntl.h | 52 ---------------------
- SDKs/darwin/usr/include/sys/mman.h  | 42 -----------------
- SDKs/darwin/usr/include/sys/stat.h  | 25 -----------
- SDKs/darwin/usr/include/sys/types.h | 20 ---------
- make/platform/clang_darwin.mk       | 88 +++++++++++++++++++++---------------
- 15 files changed, 52 insertions(+), 527 deletions(-)
- delete mode 100644 SDKs/darwin/README.txt
- delete mode 100644 SDKs/darwin/usr/include/errno.h
- delete mode 100644 SDKs/darwin/usr/include/fcntl.h
- delete mode 100644 SDKs/darwin/usr/include/inttypes.h
- delete mode 100644 SDKs/darwin/usr/include/limits.h
- delete mode 100644 SDKs/darwin/usr/include/stdio.h
- delete mode 100644 SDKs/darwin/usr/include/stdlib.h
- delete mode 100644 SDKs/darwin/usr/include/string.h
- delete mode 100644 SDKs/darwin/usr/include/sys/errno.h
- delete mode 100644 SDKs/darwin/usr/include/sys/fcntl.h
- delete mode 100644 SDKs/darwin/usr/include/sys/mman.h
- delete mode 100644 SDKs/darwin/usr/include/sys/stat.h
- delete mode 100644 SDKs/darwin/usr/include/sys/types.h
-
-diff --git llvm_release_35/projects/compiler-rt/CMakeLists.txt macports_release_35/projects/compiler-rt/CMakeLists.txt
-index f35a096..57362ac 100644
---- llvm_release_35/projects/compiler-rt/CMakeLists.txt
-+++ macports_release_35/projects/compiler-rt/CMakeLists.txt
-@@ -160,7 +160,6 @@ include(CompilerRTUtils)
- set(COMPILER_RT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
- set(COMPILER_RT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
- # Setup custom SDK sysroots.
--set(COMPILER_RT_DARWIN_SDK_SYSROOT ${COMPILER_RT_SOURCE_DIR}/SDKs/darwin)
- set(COMPILER_RT_LINUX_SDK_SYSROOT ${COMPILER_RT_SOURCE_DIR}/SDKs/linux)

- set(COMPILER_RT_EXTRA_ANDROID_HEADERS ${COMPILER_RT_SOURCE_DIR}/android/include)
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/README.txt macports_release_35/projects/compiler-rt/SDKs/darwin/README.txt
-deleted file mode 100644
-index ea30af3..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/README.txt
-+++ /dev/null
-@@ -1,3 +0,0 @@
--The Darwin platforms are all similar enough we roll them into one SDK, and use
--preprocessor tricks to get the right definitions for the few things which
--diverge between OS X and iOS.
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/errno.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/errno.h
-deleted file mode 100644
-index f06e537..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/errno.h
-+++ /dev/null
-@@ -1,17 +0,0 @@
--/* ===-- errno.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#include &lt;sys/errno.h&gt;
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/fcntl.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/fcntl.h
-deleted file mode 100644
-index a5f91e3..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/fcntl.h
-+++ /dev/null
-@@ -1,17 +0,0 @@
--/* ===-- fcntl.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#include &lt;sys/fcntl.h&gt;
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/inttypes.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/inttypes.h
-deleted file mode 100644
-index 406fa6f..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/inttypes.h
-+++ /dev/null
-@@ -1,86 +0,0 @@
--/* ===-- inttypes.h - stub SDK header for compiler-rt -----------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __INTTYPES_H__
--#define __INTTYPES_H__
--
--#if __WORDSIZE == 64
--#define __INTTYPE_PRI64__ &quot;l&quot;
--#else
--#define __INTTYPE_PRI64__ &quot;ll&quot;
--#endif
--
--#define PRId8  &quot;hhd&quot;
--#define PRId16 &quot;hd&quot;
--#define PRId32 &quot;d&quot;
--#define PRId64 __INTTYPE_PRI64__ &quot;d&quot;
--
--#define PRIi8  &quot;hhi&quot;
--#define PRIi16 &quot;hi&quot;
--#define PRIi32 &quot;i&quot;
--#define PRIi64 __INTTYPE_PRI64__ &quot;i&quot;
--
--#define PRIo8  &quot;hho&quot;
--#define PRIo16 &quot;ho&quot;
--#define PRIo32 &quot;o&quot;
--#define PRIo64 __INTTYPE_PRI64__ &quot;o&quot;
--
--#define PRIu8  &quot;hhu&quot;
--#define PRIu16 &quot;hu&quot;
--#define PRIu32 &quot;u&quot;
--#define PRIu64 __INTTYPE_PRI64__ &quot;u&quot;
--
--#define PRIx8  &quot;hhx&quot;
--#define PRIx16 &quot;hx&quot;
--#define PRIx32 &quot;x&quot;
--#define PRIx64 __INTTYPE_PRI64__ &quot;x&quot;
--
--#define PRIX8  &quot;hhX&quot;
--#define PRIX16 &quot;hX&quot;
--#define PRIX32 &quot;X&quot;
--#define PRIX64 __INTTYPE_PRI64__ &quot;X&quot;
--
--#define SCNd8  &quot;hhd&quot;
--#define SCNd16 &quot;hd&quot;
--#define SCNd32 &quot;d&quot;
--#define SCNd64 __INTTYPE_PRI64__ &quot;d&quot;
--
--#define SCNi8  &quot;hhi&quot;
--#define SCNi16 &quot;hi&quot;
--#define SCNi32 &quot;i&quot;
--#define SCNi64 __INTTYPE_PRI64__ &quot;i&quot;
--
--#define SCNo8  &quot;hho&quot;
--#define SCNo16 &quot;ho&quot;
--#define SCNo32 &quot;o&quot;
--#define SCNo64 __INTTYPE_PRI64__ &quot;o&quot;
--
--#define SCNu8  &quot;hhu&quot;
--#define SCNu16 &quot;hu&quot;
--#define SCNu32 &quot;u&quot;
--#define SCNu64 __INTTYPE_PRI64__ &quot;u&quot;
--
--#define SCNx8  &quot;hhx&quot;
--#define SCNx16 &quot;hx&quot;
--#define SCNx32 &quot;x&quot;
--#define SCNx64 __INTTYPE_PRI64__ &quot;x&quot;
--
--#define SCNX8  &quot;hhX&quot;
--#define SCNX16 &quot;hX&quot;
--#define SCNX32 &quot;X&quot;
--#define SCNX64 __INTTYPE_PRI64__ &quot;X&quot;
--
--#endif  /* __INTTYPES_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/limits.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/limits.h
-deleted file mode 100644
-index 5495a78..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/limits.h
-+++ /dev/null
-@@ -1,23 +0,0 @@
--/* ===-- limits.h - stub SDK header for compiler-rt -------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __LIMITS_H__
--#define __LIMITS_H__
--
--/* This is only here as a landing pad for the include_next from the compiler's
--   built-in limits.h. */
--
--#endif /* __LIMITS_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdio.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdio.h
-deleted file mode 100644
-index 629b450..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdio.h
-+++ /dev/null
-@@ -1,90 +0,0 @@
--/* ===-- stdio.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __STDIO_H__
--#define __STDIO_H__
--
--#if defined(__cplusplus)
--extern &quot;C&quot; {
--#endif
--
--typedef struct __sFILE FILE;
--typedef __SIZE_TYPE__ size_t;
--
--/* Determine the appropriate fdopen, fopen(), and fwrite() functions. */
--#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
--#  if defined(__i386)
--#    define __FDOPEN_NAME  &quot;_fdopen$UNIX2003&quot;
--#    define __FOPEN_NAME &quot;_fopen$UNIX2003&quot;
--#    define __FWRITE_NAME &quot;_fwrite$UNIX2003&quot;
--#  elif defined(__x86_64__)
--#    define __FDOPEN_NAME  &quot;_fdopen&quot;
--#    define __FOPEN_NAME &quot;_fopen&quot;
--#    define __FWRITE_NAME &quot;_fwrite&quot;
--#  elif defined(__arm)
--#    define __FDOPEN_NAME  &quot;_fdopen&quot;
--#    define __FOPEN_NAME &quot;_fopen&quot;
--#    define __FWRITE_NAME &quot;_fwrite&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting OS X&quot;
--#  endif
--#elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)
--#  if defined(__i386) || defined (__x86_64)
--#    define __FDOPEN_NAME  &quot;_fdopen&quot;
--#    define __FOPEN_NAME &quot;_fopen&quot;
--#    define __FWRITE_NAME &quot;_fwrite&quot;
--#  elif defined(__arm)
--#    define __FDOPEN_NAME  &quot;_fdopen&quot;
--#    define __FOPEN_NAME &quot;_fopen&quot;
--#    define __FWRITE_NAME &quot;_fwrite&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting iOS&quot;
--#  endif
--#else
--#  error &quot;unrecognized architecture for targeting Darwin&quot;
--#endif
--
--#    define stderr __stderrp
--extern FILE *__stderrp;
--
--#ifndef SEEK_SET
--#define        SEEK_SET        0        /* set file offset to offset */
--#endif
--#ifndef SEEK_CUR
--#define        SEEK_CUR        1        /* set file offset to current plus offset */
--#endif
--#ifndef SEEK_END
--#define        SEEK_END        2        /* set file offset to EOF plus offset */
--#endif
--
--int fclose(FILE *);
--int fflush(FILE *);
--FILE *fopen(const char * __restrict, const char * __restrict) __asm(__FOPEN_NAME);
--FILE *fdopen(int, const char *) __asm(__FDOPEN_NAME);
--int fprintf(FILE * __restrict, const char * __restrict, ...);
--int fputc(int, FILE *);
--size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restrict)
--  __asm(__FWRITE_NAME);
--size_t fread(void * __restrict, size_t, size_t, FILE * __restrict);
--long ftell(FILE *);
--int fseek(FILE *, long, int);
--int snprintf(char * __restrict, size_t, const char * __restrict, ...);
--
--#if defined(__cplusplus)
--}
--#endif
--
--#endif /* __STDIO_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdlib.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdlib.h
-deleted file mode 100644
-index b6d3171..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/stdlib.h
-+++ /dev/null
-@@ -1,32 +0,0 @@
--/* ===-- stdlib.h - stub SDK header for compiler-rt -------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __STDLIB_H__
--#define __STDLIB_H__
--
--#define NULL ((void *)0)
--
--typedef __SIZE_TYPE__ size_t;
--
--void abort(void) __attribute__((__noreturn__));
--int atexit(void (*)(void));
--int atoi(const char *);
--void free(void *);
--char *getenv(const char *);
--void *malloc(size_t);
--void *realloc(void *, size_t);
--
--#endif /* __STDLIB_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/string.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/string.h
-deleted file mode 100644
-index 1a00574..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/string.h
-+++ /dev/null
-@@ -1,52 +0,0 @@
--/* ===-- string.h - stub SDK header for compiler-rt -------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __STRING_H__
--#define __STRING_H__
--
--typedef __SIZE_TYPE__ size_t;
--
--int memcmp(const void *, const void *, size_t);
--void *memcpy(void *, const void *, size_t);
--void *memset(void *, int, size_t);
--char *strcat(char *, const char *);
--char *strcpy(char *, const char *);
--char *strdup(const char *);
--size_t strlen(const char *);
--char *strncpy(char *, const char *, size_t);
--
--/* Determine the appropriate strerror() function. */
--#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
--#  if defined(__i386)
--#    define __STRERROR_NAME  &quot;_strerror$UNIX2003&quot;
--#  elif defined(__x86_64__) || defined(__arm)
--#    define __STRERROR_NAME  &quot;_strerror&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting OS X&quot;
--#  endif
--#elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)
--#  if defined(__i386) || defined (__x86_64) || defined(__arm)
--#    define __STRERROR_NAME  &quot;_strerror&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting iOS&quot;
--#  endif
--#else
--#  error &quot;unrecognized architecture for targeting Darwin&quot;
--#endif
--
--char *strerror(int) __asm(__STRERROR_NAME);
--
--#endif /* __STRING_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/errno.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/errno.h
-deleted file mode 100644
-index 4befe38..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/errno.h
-+++ /dev/null
-@@ -1,31 +0,0 @@
--/* ===-- errno.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef _SYS_ERRNO_H_
--#define _SYS_ERRNO_H_
--
--#if defined(__cplusplus)
--extern &quot;C&quot; {
--#endif
--
--extern int *__error(void);
--#define errno (*__error())
--
--#if defined(__cplusplus)
--}
--#endif
--
--#endif
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
-deleted file mode 100644
-index e121949..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
-+++ /dev/null
-@@ -1,52 +0,0 @@
--/* ===-- fcntl.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef _SYS_FCNTL_H_
--#define _SYS_FCNTL_H_
--
--/* Determine the appropriate open function. */
--#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
--#  if defined(__i386)
--#    define __OPEN_NAME  &quot;_open$UNIX2003&quot;
--#  elif defined(__x86_64__)
--#    define __OPEN_NAME  &quot;_open&quot;
--#  elif defined(__arm)
--#    define __OPEN_NAME  &quot;_open&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting OS X&quot;
--#  endif
--#elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)
--#  if defined(__i386) || defined (__x86_64)
--#    define __OPEN_NAME  &quot;_open&quot;
--#  elif defined(__arm)
--#    define __OPEN_NAME  &quot;_open&quot;
--#  else
--#    error &quot;unrecognized architecture for targeting iOS&quot;
--#  endif
--#else
--#  error &quot;unrecognized architecture for targeting Darwin&quot;
--#endif
--
--#define O_RDONLY   0x0000    /* open for reading only */
--#define O_WRONLY   0x0001    /* open for writing only */
--#define O_RDWR     0x0002    /* open for reading and writing */
--#define O_ACCMODE  0x0003    /* mask for above modes */
--
--#define O_CREAT    0x0200    /* create if nonexistent */
--
--int open(const char *, int, ...) __asm(__OPEN_NAME);
--
--#endif /* !_SYS_FCNTL_H_ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/mman.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/mman.h
-deleted file mode 100644
-index 84561f1..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/mman.h
-+++ /dev/null
-@@ -1,42 +0,0 @@
--/* ===-- mman.h - stub SDK header for compiler-rt ---------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __SYS_MMAN_H__
--#define __SYS_MMAN_H__
--
--typedef __SIZE_TYPE__ size_t;
--
--#define PROT_NONE     0x00
--#define PROT_READ     0x01
--#define PROT_WRITE    0x02
--#define PROT_EXEC     0x04
--
--#define MAP_SHARED    0x0001
--#define MAP_PRIVATE   0x0002
--
--#define MAP_FILE      0x0000
--#define MAP_ANON      0x1000
--
--#define MS_ASYNC      0x0001
--#define MS_INVALIDATE 0x0002
--#define MS_SYNC       0x0010
--
--void *mmap(void *addr, size_t len, int prot, int flags, int fd,
--           long long offset);
--int munmap(void *addr, size_t len);
--int msync(void *addr, size_t len, int flags);
--
--#endif /* __SYS_MMAN_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/stat.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/stat.h
-deleted file mode 100644
-index 6225f90..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/stat.h
-+++ /dev/null
-@@ -1,25 +0,0 @@
--/* ===-- stat.h - stub SDK header for compiler-rt ---------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __SYS_STAT_H__
--#define __SYS_STAT_H__
--
--typedef unsigned short uint16_t;
--typedef uint16_t mode_t;
--
--int mkdir(const char *, mode_t);
--
--#endif /* __SYS_STAT_H__ */
-diff --git llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/types.h macports_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/types.h
-deleted file mode 100644
-index b425767..0000000
---- llvm_release_35/projects/compiler-rt/SDKs/darwin/usr/include/sys/types.h
-+++ /dev/null
-@@ -1,20 +0,0 @@
--/* ===-- types.h - stub SDK header for compiler-rt --------------------------===
-- *
-- *                     The LLVM Compiler Infrastructure
-- *
-- * This file is dual licensed under the MIT and the University of Illinois Open
-- * Source Licenses. See LICENSE.TXT for details.
-- *
-- * ===-----------------------------------------------------------------------===
-- *
-- * This is a stub SDK header file. This file is not part of the interface of
-- * this library nor an official version of the appropriate SDK header. It is
-- * intended only to stub the features of this header required by compiler-rt.
-- *
-- * ===-----------------------------------------------------------------------===
-- */
--
--#ifndef __SYS_TYPES_H__
--#define __SYS_TYPES_H__
--
--#endif /* __SYS_TYPES_H__ */
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 4030383..1358b17 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -6,16 +6,21 @@

- Description := Static runtime libraries for clang/Darwin.

--# A function that ensures we don't try to build for architectures that we
--# don't have working toolchains for.
-+# A function that ensures we don't try to build for architectures and SDKs
-+# that we don't have working toolchains for. Arguments:
-+# (1): List of architectures
-+# (2): Library name
-+# (3): SDK path
-+# The result is a possibly empty subset of the architectures from argument 1.
- CheckArches = \
-   $(shell \
-     result=&quot;&quot;; \
--    for arch in $(1); do \
-+    if [ &quot;X$(3)&quot; != X ]; then \
-+     for arch in $(1); do \
-       if $(CC) -arch $$arch -c \
-           -integrated-as \
-           $(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \
--          -isysroot $(ProjSrcRoot)/SDKs/darwin \
-+          -isysroot $(3) \
-           -o /dev/null &gt; /dev/null 2&gt; /dev/null; then \
-         if $(LD) -v 2&gt;&amp;1 | grep &quot;configured to support&quot; \
-            | tr ' ' '\n' | grep &quot;^$$arch$$&quot; &gt;/dev/null 2&gt;/dev/null; then \
-@@ -30,7 +35,8 @@ CheckArches = \
-           &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;; \
-         printf 1&gt;&amp;2 &quot; (clang does not support it)\n&quot;; \
-       fi; \
--    done; \
-+     done; \
-+    fi; \
-     echo $$result)

- XCRun = \
-@@ -53,6 +59,10 @@ STRIP    := $(call XCRun,strip)
- LIPO     := $(call XCRun,lipo)
- DSYMUTIL := $(call XCRun,dsymutil)

-+OSX_SDK := $(call XCRunSdkPath,macosx)
-+IOS_SDK := $(call XCRunSdkPath,iphoneos)
-+IOSSIM_SDK := $(call XCRunSdkPath,iphonesimulator)
-+
- Configs :=
- UniversalArchs :=

-@@ -60,51 +70,53 @@ UniversalArchs :=
- # still be referenced from Darwin system headers. This symbol is only ever
- # needed on i386.
- Configs += eprintf
--UniversalArchs.eprintf := $(call CheckArches,i386,eprintf)
-+UniversalArchs.eprintf := $(call CheckArches,i386,eprintf,$(OSX_SDK))

- # Configuration for targeting 10.4. We need a few functions missing from
- # libgcc_s.10.4.dylib. We only build x86 slices since clang doesn't really
- # support targeting PowerPC.
- Configs += 10.4
--UniversalArchs.10.4 := $(call CheckArches,i386 x86_64,10.4)
-+UniversalArchs.10.4 := $(call CheckArches,i386 x86_64,10.4,$(OSX_SDK))

- # Configuration for targeting iOS for a couple of functions that didn't
- # make it into libSystem.
- Configs += ios
--UniversalArchs.ios := $(call CheckArches,i386 x86_64 armv7,ios)
-+UniversalArchs.ios := $(call CheckArches,i386 x86_64,ios,$(IOSSIM_SDK))
-+UniversalArchs.ios += $(call CheckArches,armv7,ios,$(IOS_SDK))

- # Configuration for targeting OSX. These functions may not be in libSystem
- # so we should provide our own.
- Configs += osx
--UniversalArchs.osx := $(call CheckArches,i386 x86_64 x86_64h,osx)
-+UniversalArchs.osx := $(call CheckArches,i386 x86_64 x86_64h,osx,$(OSX_SDK))

- # Configuration for use with kernel/kexts.
- Configs += cc_kext
--UniversalArchs.cc_kext := $(call CheckArches,armv7 i386 x86_64 x86_64h,cc_kext)
-+UniversalArchs.cc_kext := $(call CheckArches,i386 x86_64 x86_64h,cc_kext,$(OSX_SDK))
-+UniversalArchs.cc_kext += $(call CheckArches,armv7,cc_kext,$(IOS_SDK))

- # Configuration for use with kernel/kexts for iOS 5.0 and earlier (which used 
--# a different code generation strategy).
-+# a different code generation strategy). Note: the x86_64 slice is unused but
-+# it avoids build problems (see pr14013).
- Configs += cc_kext_ios5
--UniversalArchs.cc_kext_ios5 := $(call CheckArches,x86_64 armv7,cc_kext_ios5)
-+UniversalArchs.cc_kext_ios5 := $(call CheckArches,x86_64,cc_kext_ios5,$(IOSSIM_SDK))
-+UniversalArchs.cc_kext_ios5 += $(call CheckArches,armv7,cc_kext_ios5,$(IOS_SDK))

- # Configurations which define the profiling support functions.
- Configs += profile_osx
--UniversalArchs.profile_osx := $(call CheckArches,i386 x86_64 x86_64h,profile_osx)
-+UniversalArchs.profile_osx := $(call CheckArches,i386 x86_64 x86_64h,profile_osx,$(OSX_SDK))
- Configs += profile_ios
--UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
-+UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64,profile_ios,$(IOSSIM_SDK))
-+UniversalArchs.profile_ios += $(call CheckArches,armv7,profile_ios,$(IOS_SDK))

- # Configurations which define the ASAN support functions.
- Configs += asan_osx_dynamic
--UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64 x86_64h,asan_osx_dynamic)
-+UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64 x86_64h,asan_osx_dynamic,$(OSX_SDK))

--IOSSIM_SDK_PATH := $(call XCRunSdkPath,iphonesimulator)
--ifneq ($(IOSSIM_SDK_PATH),)
- Configs += asan_iossim_dynamic
--UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic)
--endif
-+UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic,$(IOSSIM_SDK))

- Configs += ubsan_osx
--UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx)
-+UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx,$(OSX_SDK))

- # Darwin 10.6 has a bug in cctools that makes it unable to use ranlib on our ARM
- # object files. If we are on that platform, strip out all ARM archs. We still
-@@ -119,17 +131,18 @@ UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx)

- # If RC_SUPPORTED_ARCHS is defined, treat it as a list of the architectures we
- # are intended to support and limit what we try to build to that.
--#
--# We make sure to remove empty configs if we end up dropping all the requested
--# archs for a particular config.
- ifneq ($(RC_SUPPORTED_ARCHS),)
- $(foreach config,$(Configs),\
-   $(call Set,UniversalArchs.$(config),\
--        $(filter $(RC_SUPPORTED_ARCHS),$(UniversalArchs.$(config))))\
--  $(if $(UniversalArchs.$(config)),,\
--        $(call Set,Configs,$(filter-out $(config),$(Configs)))))
-+        $(filter $(RC_SUPPORTED_ARCHS),$(UniversalArchs.$(config))))
- endif

-+# Remove empty configs if we end up dropping all the requested
-+# archs for a particular config.
-+$(foreach config,$(Configs),\
-+  $(if $(strip $(UniversalArchs.$(config))),,\
-+        $(call Set,Configs,$(filter-out $(config),$(Configs)))))
-+
- ###

- # Forcibly strip off any -arch, as that totally breaks our universal support.
-@@ -147,28 +160,31 @@ IOS_DEPLOYMENT_ARGS := -mios-version-min=1.0
- IOS6_DEPLOYMENT_ARGS := -mios-version-min=6.0
- IOSSIM_DEPLOYMENT_ARGS := -mios-simulator-version-min=1.0

--# Use our stub SDK as the sysroot to support more portable building.
--OSX_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
--IOS_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
--IOS6_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
--IOSSIM_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
-+OSX_DEPLOYMENT_ARGS += -isysroot $(OSX_SDK)
-+IOS_DEPLOYMENT_ARGS += -isysroot $(IOS_SDK)
-+IOS6_DEPLOYMENT_ARGS += -isysroot $(IOS_SDK)
-+IOSSIM_DEPLOYMENT_ARGS += -isysroot $(IOSSIM_SDK)

- CFLAGS.eprintf                := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- CFLAGS.10.4                := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
--# FIXME: We can't build ASAN with our stub SDK yet.
-+
- CFLAGS.asan_osx_dynamic := \
--        $(CFLAGS) -mmacosx-version-min=10.6 -fno-builtin \
-+        $(CFLAGS) -mmacosx-version-min=10.6 \
-+        -isysroot $(OSX_SDK) \
-+        -fno-builtin \
-         -gline-tables-only \
-         -DMAC_INTERPOSE_FUNCTIONS=1

- CFLAGS.asan_iossim_dynamic := \
-         $(CFLAGS) -mios-simulator-version-min=7.0 \
--        -isysroot $(IOSSIM_SDK_PATH) \
-+        -isysroot $(IOSSIM_SDK) \
-         -fno-builtin \
-         -gline-tables-only \
-         -DMAC_INTERPOSE_FUNCTIONS=1

--CFLAGS.ubsan_osx := $(CFLAGS) -mmacosx-version-min=10.6 -fno-builtin
-+CFLAGS.ubsan_osx := $(CFLAGS) -mmacosx-version-min=10.6 \
-+        -isysroot $(OSX_SDK) \
-+        -fno-builtin

- CFLAGS.ios.i386                := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
- CFLAGS.ios.x86_64        := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
-@@ -206,7 +222,7 @@ SHARED_LIBRARY.asan_iossim_dynamic := 1
- # or -Wl,-syslibroot.
- LDFLAGS.asan_iossim_dynamic := -undefined dynamic_lookup \
-   -Wl,-ios_simulator_version_min,7.0.0 \
--  -mios-simulator-version-min=7.0 -isysroot $(IOSSIM_SDK_PATH)
-+  -mios-simulator-version-min=7.0 -isysroot $(IOSSIM_SDK)

- FUNCTIONS.eprintf := eprintf
- FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2004Cleanupindentationafterpreviouschangepatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2004-Clean-up-indentation-after-previous-change.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2004-Clean-up-indentation-after-previous-change.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2004-Clean-up-indentation-after-previous-change.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-From ca5f37834f494bfc968dcb3c54df85ed98e7e827 Mon Sep 17 00:00:00 2001
-From: Bob Wilson &lt;bob.wilson@apple.com&gt;
-Date: Mon, 10 Nov 2014 19:38:18 +0000
-Subject: [PATCH 2004/2006] Clean up indentation after previous change.
-
-git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221622 91177308-0d34-0410-b5e6-96231b3b80d8
-(cherry picked from commit 7c2a39493c7e0ee26078a380ca0f0890dd7566eb)
----
- make/platform/clang_darwin.mk | 34 +++++++++++++++++-----------------
- 1 file changed, 17 insertions(+), 17 deletions(-)
-
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 1358b17..6d3a0f8 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -16,26 +16,26 @@ CheckArches = \
-   $(shell \
-     result=&quot;&quot;; \
-     if [ &quot;X$(3)&quot; != X ]; then \
--     for arch in $(1); do \
--      if $(CC) -arch $$arch -c \
--          -integrated-as \
--          $(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \
--          -isysroot $(3) \
--          -o /dev/null &gt; /dev/null 2&gt; /dev/null; then \
--        if $(LD) -v 2&gt;&amp;1 | grep &quot;configured to support&quot; \
--           | tr ' ' '\n' | grep &quot;^$$arch$$&quot; &gt;/dev/null 2&gt;/dev/null; then \
--          result=&quot;$$result$$arch &quot;; \
-+      for arch in $(1); do \
-+        if $(CC) -arch $$arch -c \
-+            -integrated-as \
-+            $(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \
-+            -isysroot $(3) \
-+            -o /dev/null &gt; /dev/null 2&gt; /dev/null; then \
-+          if $(LD) -v 2&gt;&amp;1 | grep &quot;configured to support&quot; \
-+             | tr ' ' '\n' | grep &quot;^$$arch$$&quot; &gt;/dev/null 2&gt;/dev/null; then \
-+            result=&quot;$$result$$arch &quot;; \
-+          else \
-+            printf 1&gt;&amp;2 \
-+            &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;;\
-+            printf 1&gt;&amp;2 &quot; (ld does not support it)\n&quot;; \
-+          fi; \
-         else \
-           printf 1&gt;&amp;2 \
--            &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;; \
--          printf 1&gt;&amp;2 &quot; (ld does not support it)\n&quot;; \
-+           &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;; \
-+          printf 1&gt;&amp;2 &quot; (clang does not support it)\n&quot;; \
-         fi; \
--      else \
--        printf 1&gt;&amp;2 \
--          &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;; \
--        printf 1&gt;&amp;2 &quot; (clang does not support it)\n&quot;; \
--      fi; \
--     done; \
-+      done; \
-     fi; \
-     echo $$result)

--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2005UpdateCheckArchestofallbackonIntelppcifldvpatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2005-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2005-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2005-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-From d181817db18a2172b616050e9d8d674d0d1ca003 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 10 Jan 2015 03:34:51 -0800
-Subject: [PATCH 2005/2006] Update CheckArches to fallback on Intel/ppc if ld
- -v doesn't report supported architectures
-
-Older versions of ld64 (eg: Xcode 3.x) do not report this.
-
-http://www.llvm.org/bugs/show_bug.cgi?id=22182
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit b16ca706de5eeb244b1fe889760ae4339b23a170)
----
- make/platform/clang_darwin.mk | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 6d3a0f8..2917c1e 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -25,6 +25,8 @@ CheckArches = \
-           if $(LD) -v 2&gt;&amp;1 | grep &quot;configured to support&quot; \
-              | tr ' ' '\n' | grep &quot;^$$arch$$&quot; &gt;/dev/null 2&gt;/dev/null; then \
-             result=&quot;$$result$$arch &quot;; \
-+          elif ! ( $(LD) -v 2&gt;&amp;1 | grep &quot;configured to support&quot; ) &amp;&amp; test &quot;$$arch&quot; = &quot;i386&quot; -o &quot;$$arch&quot; = &quot;x86_64&quot; -o &quot;$$arch&quot; = &quot;ppc&quot; -o &quot;$$arch&quot; = &quot;ppc64&quot; ; then \
-+            result=&quot;$$result$$arch &quot;; \
-           else \
-             printf 1&gt;&amp;2 \
-             &quot;warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'&quot;;\
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2006Fallbackonxcodebuildsdkwhenxcrunsdkisnotsupatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/2006-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2006-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/2006-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-From 0d05e3a5a64eb7640c627c2e45af69c670cc7215 Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 17 Jan 2015 17:45:27 -0800
-Subject: [PATCH 2006/2006] Fall back on xcodebuild -sdk when xcrun --sdk is
- not supported
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit e1ded9c3e06fb5c97d8936b77ccf8982e52a7b69)
----
- make/platform/clang_darwin.mk | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-index 2917c1e..068034e 100644
---- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-+++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
-@@ -49,6 +49,10 @@ XCRun = \
- XCRunSdkPath = \
-   $(shell \
-     result=`xcrun --sdk $(1) --show-sdk-path 2&gt; /dev/null`; \
-+    if [ &quot;$$?&quot; != &quot;0&quot; ]; then \
-+      result=`xcodebuild -sdk $(1) -version 2&gt; /dev/null \
-+              | sed -n 's/^Path: \(..*\)$$/\1/p'`; \
-+    fi; \
-     if [ &quot;$$?&quot; != &quot;0&quot; ]; then result=&quot;&quot;; fi; \
-     echo $$result)
- ###
--- 
-2.2.2
-
</del></span></pre></div>
<a id="trunkdportslangllvm35files2007Ondarwinbuildppcslicesofthecompilerruntimeipatch"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/llvm-3.5/files/2007-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch (0 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/2007-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch                                (rev 0)
+++ trunk/dports/lang/llvm-3.5/files/2007-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+From f24308b7ea3b0724f1144eeefe75d8cc86acef68 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
+Date: Sat, 17 Jan 2015 19:55:19 -0800
+Subject: [PATCH 2007/2007] On darwin, build ppc slices of the compiler runtime
+ if requested and supported by the SDK and toolchain
+
+Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
+(cherry picked from commit 1fe76a2b12f4837c49237cdca6803e5f43e00f7c)
+
+Conflicts:
+        make/platform/clang_darwin.mk
+---
+ make/platform/clang_darwin.mk | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
+index 068034e..088a5d9 100644
+--- llvm_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
++++ macports_release_35/projects/compiler-rt/make/platform/clang_darwin.mk
+@@ -79,10 +79,10 @@ Configs += eprintf
+ UniversalArchs.eprintf := $(call CheckArches,i386,eprintf,$(OSX_SDK))

+ # Configuration for targeting 10.4. We need a few functions missing from
+-# libgcc_s.10.4.dylib. We only build x86 slices since clang doesn't really
+-# support targeting PowerPC.
++# libgcc_s.10.4.dylib. We don't build ppc64 slices since clang doesn't really
++# support it..
+ Configs += 10.4
+-UniversalArchs.10.4 := $(call CheckArches,i386 x86_64,10.4,$(OSX_SDK))
++UniversalArchs.10.4 := $(call CheckArches,ppc i386 x86_64,10.4,$(OSX_SDK))

+ # Configuration for targeting iOS for a couple of functions that didn't
+ # make it into libSystem.
+@@ -93,11 +93,11 @@ UniversalArchs.ios += $(call CheckArches,armv7,ios,$(IOS_SDK))
+ # Configuration for targeting OSX. These functions may not be in libSystem
+ # so we should provide our own.
+ Configs += osx
+-UniversalArchs.osx := $(call CheckArches,i386 x86_64 x86_64h,osx,$(OSX_SDK))
++UniversalArchs.osx := $(call CheckArches,ppc i386 x86_64 x86_64h,osx,$(OSX_SDK))

+ # Configuration for use with kernel/kexts.
+ Configs += cc_kext
+-UniversalArchs.cc_kext := $(call CheckArches,i386 x86_64 x86_64h,cc_kext,$(OSX_SDK))
++UniversalArchs.cc_kext := $(call CheckArches,ppc i386 x86_64 x86_64h,cc_kext,$(OSX_SDK))
+ UniversalArchs.cc_kext += $(call CheckArches,armv7,cc_kext,$(IOS_SDK))

+ # Configuration for use with kernel/kexts for iOS 5.0 and earlier (which used 
+@@ -109,7 +109,7 @@ UniversalArchs.cc_kext_ios5 += $(call CheckArches,armv7,cc_kext_ios5,$(IOS_SDK))

+ # Configurations which define the profiling support functions.
+ Configs += profile_osx
+-UniversalArchs.profile_osx := $(call CheckArches,i386 x86_64 x86_64h,profile_osx,$(OSX_SDK))
++UniversalArchs.profile_osx := $(call CheckArches,ppc i386 x86_64 x86_64h,profile_osx,$(OSX_SDK))
+ Configs += profile_ios
+ UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64,profile_ios,$(IOSSIM_SDK))
+ UniversalArchs.profile_ios += $(call CheckArches,armv7,profile_ios,$(IOS_SDK))
+-- 
+2.2.2
+
</ins></span></pre></div>
<a id="trunkdportslangllvm35files3000MacPortsOnlyHelperscriptforgeneratingpatchespatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/llvm-3.5/files/3000-MacPorts-Only-Helper-script-for-generating-patches.patch (131765 => 131766)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.5/files/3000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 03:26:00 UTC (rev 131765)
+++ trunk/dports/lang/llvm-3.5/files/3000-MacPorts-Only-Helper-script-for-generating-patches.patch        2015-01-18 05:06:45 UTC (rev 131766)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-From 2783417c99be6610bdcbfc72b3d80800de26384a Mon Sep 17 00:00:00 2001
-From: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-Date: Sat, 17 Jan 2015 17:11:35 -0800
-Subject: [PATCH 3000/3005] MacPorts Only: Helper script for generating patches
-
-Signed-off-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
-(cherry picked from commit 534fe4429053a7bec4fff1ef3de779871602dc93)
----
- create_macports_patches.sh | 11 +++++++++++
- 1 file changed, 11 insertions(+)
- create mode 100755 create_macports_patches.sh
-
-diff --git llvm_release_35/projects/libcxx/create_macports_patches.sh macports_release_35/projects/libcxx/create_macports_patches.sh
-new file mode 100755
-index 0000000..938e468
---- /dev/null
-+++ macports_release_35/projects/libcxx/create_macports_patches.sh
-@@ -0,0 +1,11 @@
-+#!/bin/bash
-+
-+parse_git_branch()
-+{
-+    ref=$(git symbolic-ref HEAD 2&gt; /dev/null) || return;
-+    echo ${ref#refs/heads/}
-+}
-+
-+branch=$(parse_git_branch)
-+
-+git format-patch origin/${branch} --src-prefix=llvm_${branch}/projects/libcxx/ --dst-prefix=macports_${branch}/projects/libcxx/ --start-number=3000
--- 
-2.2.2
-
</del></span></pre>
</div>
</div>

</body>
</html>