<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b41cdadc7fcefb70f64303bbba494373654cc3dd">https://github.com/macports/macports-ports/commit/b41cdadc7fcefb70f64303bbba494373654cc3dd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b41cdadc7fcefb70f64303bbba494373654cc3dd
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Tue Nov 1 17:39:33 2016 -0700

<span style='display:block; white-space:pre;color:#404040;'>    llvm-3.8+: Workaround Snow Leopard SDK bug in math.h (#52130)
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Only revbumping clang-3.8 since clang-3.9 and clang-devel don't yet build on
</span><span style='display:block; white-space:pre;color:#404040;'>    Snow Leopard.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
 lang/llvm-3.8/Portfile                             |  2 +-
 .../files/3001-buildit-build-fix-for-Leopard.patch | 10 ++---
 ...-compatibility-version-to-RC_ProjectSourc.patch | 10 ++---
 ...nd-iterator-when-building-with-Lion-and-n.patch | 22 +++++------
 ...-long-long-math-prototypes-when-using-the.patch | 45 ++++++++++++++--------
 ...tomic-using-mutex-lock_guard-for-64b-ops-.patch | 18 ++++-----
 .../files/3001-buildit-build-fix-for-Leopard.patch | 12 +++---
 ...-compatibility-version-to-RC_ProjectSourc.patch | 12 +++---
 ...nd-iterator-when-building-with-Lion-and-n.patch | 24 ++++++------
 ...-long-long-math-prototypes-when-using-the.patch | 45 ++++++++++++++--------
 ...tomic-using-mutex-lock_guard-for-64b-ops-.patch | 18 ++++-----
 .../files/3001-buildit-build-fix-for-Leopard.patch |  6 +--
 ...-compatibility-version-to-RC_ProjectSourc.patch |  6 +--
 ...nd-iterator-when-building-with-Lion-and-n.patch | 12 +++---
 ...-long-long-math-prototypes-when-using-the.patch | 44 +++++++++++++--------
 ...tomic-using-mutex-lock_guard-for-64b-ops-.patch |  8 ++--
 16 files changed, 163 insertions(+), 131 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/Portfile b/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2222003..926a7fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ set llvm_version        3.8
</span> set llvm_version_no_dot 38
 name                    llvm-${llvm_version}
 revision                0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport                 clang-${llvm_version} { revision 4 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport                 clang-${llvm_version} { revision 5 }
</span> set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
 dist_subdir             llvm
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/files/3001-buildit-build-fix-for-Leopard.patch b/lang/llvm-3.8/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 68f8cc6..de18639 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 338a475972c93c0a819d8fb15050bcce638d3146 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 15d944059e1d8c6477b3743a03d84aa51901b737 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:10:35 -0800
 Subject: [PATCH 3001/3005] buildit build fix for Leopard
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,10 +8,10 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  lib/buildit | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/lib/buildit macports_release_38/projects/libcxx/lib/buildit
</span> index 7e3bc2e..2740dee 100755
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/lib/buildit
</span> @@ -50,7 +50,7 @@ case $TRIPLE in
        RC_CFLAGS="-arch i386 -arch x86_64"
      fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,5 +31,5 @@ index 7e3bc2e..2740dee 100755
</span>          if [ -n "$SDKROOT" ]
          then
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch b/lang/llvm-3.8/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index befa270..6937af2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From b132f1d99a4d68032981ac5eac247957640a11b2 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 8e89729b3b08e5f0aa2779d47a6a09049e736472 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:11:37 -0800
 Subject: [PATCH 3002/3005] buildit: Set compatibility version to
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,10 +9,10 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  lib/buildit | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/lib/buildit macports_release_38/projects/libcxx/lib/buildit
</span> index 2740dee..c74683f 100755
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/lib/buildit
</span> @@ -54,7 +54,8 @@ case $TRIPLE in
      then
          EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,5 +24,5 @@ index 2740dee..c74683f 100755
</span>              -install_name /usr/lib/libc++.1.dylib \
              -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch b/lang/llvm-3.8/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8695a3b..f8e2956 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 763f41fd807928cec405fa391fb062cfd2cc5251 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From dfb7544703095a492a367635b945afcb4bddc7b2 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:34:36 -0800
 Subject: [PATCH 3003/3005] Fix <local> and <iterator> when building with Lion
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,11 +10,11 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  include/locale   | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/iterator macports_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index c06ef8f..168efa6 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -920,8 +920,8 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/include/iterator macports_release_38/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 8d9b311..e07b1b8 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -926,8 +926,8 @@ public:
</span>      _LIBCPP_INLINE_VISIBILITY bool failed() const _NOEXCEPT {return __sbuf_ == 0;}
  
  #if !defined(__APPLE__) || \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,10 +25,10 @@ index c06ef8f..168efa6 100644
</span>  
      template <class _Ch, class _Tr>
      friend
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/locale macports_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 74898be..b82a3c7 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/include/locale macports_release_38/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 84cb5a5..f862c85 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/include/locale
</span> @@ -1474,8 +1474,8 @@ __pad_and_output(_OutputIterator __s,
  }
  
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,5 +41,5 @@ index 74898be..b82a3c7 100644
</span>  template <class _CharT, class _Traits>
  _LIBCPP_HIDDEN
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch b/lang/llvm-3.8/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2dc34c2..be215d7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,25 +1,36 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 133c794191c25455ffccacc703570c8e7b6b4379 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From f6c712cfc47985de047478a7728e9adec7c267e4 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Sat, 17 Jan 2015 16:26:20 -0800
 Subject: [PATCH 3004/3005] Fix missing long long math prototypes when using
  the Snow Leopard SDK
 
 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+(cherry picked from commit 720feba4874d4ca3131753dc31af127e3c509c36)
</span> ---
<span style='display:block; white-space:pre;background:#ffe0e0;'>- include/cmath | 16 ++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 16 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include/math.h | 26 ++++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 26 insertions(+)
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/cmath macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ebbde18..f6d0d31 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -300,6 +300,22 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <__config>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/include/math.h macports_release_38/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 2020554..9095594 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -300,6 +300,32 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include_next <math.h>
</span>  
 +#ifdef __APPLE__
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <Availability.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __has_include(<Availability.h>)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  include <Availability.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __APPLE_BAD_MATH_H
</span> +/* These prototypes are incorrectly omitted from <math.h> on Snow Leopard despite being available */
 +extern "C" {
 +    extern long long int llrintl(long double);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,12 +41,12 @@ index ebbde18..f6d0d31 100644
</span> +    extern long long int llround(double);
 +    extern long long int llroundf(float);
 +}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span> +#endif // __APPLE__
 +
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #pragma GCC system_header
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __cplusplus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // We support including .h headers inside 'extern "C"' contexts, so switch
</span> -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch b/lang/llvm-3.8/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index bec0ff3..dfccc49 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From bfb3ae7b99d4efea34677d6931329efbb423415d Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 8281e23001c5a9ce193abf5bc67ec618439be53b Mon Sep 17 00:00:00 2001
</span> From: David Fang <fang@csl.cornell.edu>
 Date: Wed, 15 Jan 2014 21:27:34 -0800
 Subject: [PATCH 3005/3005] implement atomic<> using mutex/lock_guard for 64b
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,11 +10,11 @@ Subject: [PATCH 3005/3005] implement atomic<> using mutex/lock_guard for 64b
</span>  2 files changed, 286 insertions(+)
  create mode 100644 include/__atomic_locked
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/__atomic_locked macports_master/projects/libcxx/include/__atomic_locked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/include/__atomic_locked macports_release_38/projects/libcxx/include/__atomic_locked
</span> new file mode 100644
 index 0000000..f10dd74
 --- /dev/null
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/__atomic_locked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/include/__atomic_locked
</span> @@ -0,0 +1,240 @@
 +// -*- C++ -*-
 +//===--------------------------- __atomic_locked --------------------------===//
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -256,11 +256,11 @@ index 0000000..f10dd74
</span> +_LIBCPP_END_NAMESPACE_STD
 +
 +#endif  // _LIBCPP_ATOMIC_LOCKED
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/atomic macports_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 13965fb..fb0266a 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1791,4 +1791,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_38/projects/libcxx/include/atomic macports_release_38/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index abec2a0..f30a9f7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_38/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_38/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1802,4 +1802,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span>  
  _LIBCPP_END_NAMESPACE_STD
  
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -312,5 +312,5 @@ index 13965fb..fb0266a 100644
</span> +
  #endif  // _LIBCPP_ATOMIC
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/files/3001-buildit-build-fix-for-Leopard.patch b/lang/llvm-3.9/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 68f8cc6..b85cf1e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 338a475972c93c0a819d8fb15050bcce638d3146 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From d0d5d0265097c7ad2b30f67e94dfabee19b5ea76 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:10:35 -0800
 Subject: [PATCH 3001/3005] buildit build fix for Leopard
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,10 +8,10 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  lib/buildit | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7e3bc2e..2740dee 100755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/lib/buildit macports_release_39/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6451a9b..237e5a7 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/lib/buildit
</span> @@ -50,7 +50,7 @@ case $TRIPLE in
        RC_CFLAGS="-arch i386 -arch x86_64"
      fi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,5 +31,5 @@ index 7e3bc2e..2740dee 100755
</span>          if [ -n "$SDKROOT" ]
          then
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch b/lang/llvm-3.9/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index befa270..fdcad12 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From b132f1d99a4d68032981ac5eac247957640a11b2 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From f8bdf2f105db08162f868f898d9653eddbd39bf3 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:11:37 -0800
 Subject: [PATCH 3002/3005] buildit: Set compatibility version to
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,10 +9,10 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  lib/buildit | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2740dee..c74683f 100755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/lib/buildit macports_release_39/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 237e5a7..d313efe 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/lib/buildit
</span> @@ -54,7 +54,8 @@ case $TRIPLE in
      then
          EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,5 +24,5 @@ index 2740dee..c74683f 100755
</span>              -install_name /usr/lib/libc++.1.dylib \
              -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch b/lang/llvm-3.9/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8695a3b..92d4701 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 763f41fd807928cec405fa391fb062cfd2cc5251 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 64d28394b6138803b1863178184a8863ddf9b1e0 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:34:36 -0800
 Subject: [PATCH 3003/3005] Fix <local> and <iterator> when building with Lion
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,11 +10,11 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  include/locale   | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/iterator macports_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index c06ef8f..168efa6 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -920,8 +920,8 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/include/iterator macports_release_39/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0caabbb..72fdfac 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/include/iterator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1005,8 +1005,8 @@ public:
</span>      _LIBCPP_INLINE_VISIBILITY bool failed() const _NOEXCEPT {return __sbuf_ == 0;}
  
  #if !defined(__APPLE__) || \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,11 +25,11 @@ index c06ef8f..168efa6 100644
</span>  
      template <class _Ch, class _Tr>
      friend
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/locale macports_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 74898be..b82a3c7 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1474,8 +1474,8 @@ __pad_and_output(_OutputIterator __s,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/include/locale macports_release_39/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 3d804e8..a7bb0a5 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/include/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1316,8 +1316,8 @@ __pad_and_output(_OutputIterator __s,
</span>  }
  
  #if !defined(__APPLE__) || \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,5 +41,5 @@ index 74898be..b82a3c7 100644
</span>  template <class _CharT, class _Traits>
  _LIBCPP_HIDDEN
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch b/lang/llvm-3.9/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2dc34c2..070b9fe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,25 +1,36 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 133c794191c25455ffccacc703570c8e7b6b4379 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 0623b92d7c83e0950aa84c6ff655047ff900a414 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Sat, 17 Jan 2015 16:26:20 -0800
 Subject: [PATCH 3004/3005] Fix missing long long math prototypes when using
  the Snow Leopard SDK
 
 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+(cherry picked from commit 720feba4874d4ca3131753dc31af127e3c509c36)
</span> ---
<span style='display:block; white-space:pre;background:#ffe0e0;'>- include/cmath | 16 ++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 16 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include/math.h | 26 ++++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 26 insertions(+)
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/cmath macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ebbde18..f6d0d31 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -300,6 +300,22 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <__config>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/include/math.h macports_release_39/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 2020554..9095594 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -300,6 +300,32 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include_next <math.h>
</span>  
 +#ifdef __APPLE__
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <Availability.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __has_include(<Availability.h>)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  include <Availability.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __APPLE_BAD_MATH_H
</span> +/* These prototypes are incorrectly omitted from <math.h> on Snow Leopard despite being available */
 +extern "C" {
 +    extern long long int llrintl(long double);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,12 +41,12 @@ index ebbde18..f6d0d31 100644
</span> +    extern long long int llround(double);
 +    extern long long int llroundf(float);
 +}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span> +#endif // __APPLE__
 +
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #pragma GCC system_header
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __cplusplus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // We support including .h headers inside 'extern "C"' contexts, so switch
</span> -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch b/lang/llvm-3.9/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index bec0ff3..dd76e6d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From bfb3ae7b99d4efea34677d6931329efbb423415d Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From eb55733b721b593ab1320db536c20e52e01257e4 Mon Sep 17 00:00:00 2001
</span> From: David Fang <fang@csl.cornell.edu>
 Date: Wed, 15 Jan 2014 21:27:34 -0800
 Subject: [PATCH 3005/3005] implement atomic<> using mutex/lock_guard for 64b
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,11 +10,11 @@ Subject: [PATCH 3005/3005] implement atomic<> using mutex/lock_guard for 64b
</span>  2 files changed, 286 insertions(+)
  create mode 100644 include/__atomic_locked
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/__atomic_locked macports_master/projects/libcxx/include/__atomic_locked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/include/__atomic_locked macports_release_39/projects/libcxx/include/__atomic_locked
</span> new file mode 100644
 index 0000000..f10dd74
 --- /dev/null
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/__atomic_locked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/include/__atomic_locked
</span> @@ -0,0 +1,240 @@
 +// -*- C++ -*-
 +//===--------------------------- __atomic_locked --------------------------===//
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -256,11 +256,11 @@ index 0000000..f10dd74
</span> +_LIBCPP_END_NAMESPACE_STD
 +
 +#endif  // _LIBCPP_ATOMIC_LOCKED
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/atomic macports_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 13965fb..fb0266a 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1791,4 +1791,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_release_39/projects/libcxx/include/atomic macports_release_39/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 11f2152..2df36dd 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_release_39/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_release_39/projects/libcxx/include/atomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1841,4 +1841,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span>  
  _LIBCPP_END_NAMESPACE_STD
  
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -312,5 +312,5 @@ index 13965fb..fb0266a 100644
</span> +
  #endif  // _LIBCPP_ATOMIC
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/files/3001-buildit-build-fix-for-Leopard.patch b/lang/llvm-devel/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 68f8cc6..15095ce 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/files/3001-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 338a475972c93c0a819d8fb15050bcce638d3146 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From cc6da8932689d4160804777b0fb5277f60089b27 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:10:35 -0800
 Subject: [PATCH 3001/3005] buildit build fix for Leopard
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 7e3bc2e..2740dee 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6451a9b..237e5a7 100755
</span> --- llvm_master/projects/libcxx/lib/buildit
 +++ macports_master/projects/libcxx/lib/buildit
 @@ -50,7 +50,7 @@ case $TRIPLE in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,5 +31,5 @@ index 7e3bc2e..2740dee 100755
</span>          if [ -n "$SDKROOT" ]
          then
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch b/lang/llvm-devel/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index befa270..d3c3317 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From b132f1d99a4d68032981ac5eac247957640a11b2 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 54aa9c8f7cf32337c021ccc5b4c9d96eba02c7cb Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:11:37 -0800
 Subject: [PATCH 3002/3005] buildit: Set compatibility version to
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git llvm_master/projects/libcxx/lib/buildit macports_master/projects/libcxx/lib/buildit
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2740dee..c74683f 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 237e5a7..d313efe 100755
</span> --- llvm_master/projects/libcxx/lib/buildit
 +++ macports_master/projects/libcxx/lib/buildit
 @@ -54,7 +54,8 @@ case $TRIPLE in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,5 +24,5 @@ index 2740dee..c74683f 100755
</span>              -install_name /usr/lib/libc++.1.dylib \
              -Wl,-reexport_library,/usr/lib/libc++abi.dylib \
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch b/lang/llvm-devel/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8695a3b..40e0832 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 763f41fd807928cec405fa391fb062cfd2cc5251 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From f22ba463b19326ad65f52253c7fb51f548f77038 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Fri, 16 Jan 2015 21:34:36 -0800
 Subject: [PATCH 3003/3005] Fix <local> and <iterator> when building with Lion
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,10 +11,10 @@ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
</span>  2 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git llvm_master/projects/libcxx/include/iterator macports_master/projects/libcxx/include/iterator
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index c06ef8f..168efa6 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 731791b..3e1cf5e 100644
</span> --- llvm_master/projects/libcxx/include/iterator
 +++ macports_master/projects/libcxx/include/iterator
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -920,8 +920,8 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1020,8 +1020,8 @@ public:
</span>      _LIBCPP_INLINE_VISIBILITY bool failed() const _NOEXCEPT {return __sbuf_ == 0;}
  
  #if !defined(__APPLE__) || \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,10 +26,10 @@ index c06ef8f..168efa6 100644
</span>      template <class _Ch, class _Tr>
      friend
 diff --git llvm_master/projects/libcxx/include/locale macports_master/projects/libcxx/include/locale
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 74898be..b82a3c7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index adb03af..027de77 100644
</span> --- llvm_master/projects/libcxx/include/locale
 +++ macports_master/projects/libcxx/include/locale
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1474,8 +1474,8 @@ __pad_and_output(_OutputIterator __s,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1316,8 +1316,8 @@ __pad_and_output(_OutputIterator __s,
</span>  }
  
  #if !defined(__APPLE__) || \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,5 +41,5 @@ index 74898be..b82a3c7 100644
</span>  template <class _CharT, class _Traits>
  _LIBCPP_HIDDEN
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch b/lang/llvm-devel/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2dc34c2..2f33671 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 133c794191c25455ffccacc703570c8e7b6b4379 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 720feba4874d4ca3131753dc31af127e3c509c36 Mon Sep 17 00:00:00 2001
</span> From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 Date: Sat, 17 Jan 2015 16:26:20 -0800
 Subject: [PATCH 3004/3005] Fix missing long long math prototypes when using
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,20 +6,30 @@ Subject: [PATCH 3004/3005] Fix missing long long math prototypes when using
</span> 
 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
 ---
<span style='display:block; white-space:pre;background:#ffe0e0;'>- include/cmath | 16 ++++++++++++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 16 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include/math.h | 26 ++++++++++++++++++++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 26 insertions(+)
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git llvm_master/projects/libcxx/include/cmath macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ebbde18..f6d0d31 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- llvm_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ macports_master/projects/libcxx/include/cmath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -300,6 +300,22 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <__config>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git llvm_master/projects/libcxx/include/math.h macports_master/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index fb0b608..afbe2cf 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- llvm_master/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ macports_master/projects/libcxx/include/math.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -300,6 +300,32 @@ long double    truncl(long double x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include_next <math.h>
</span>  
 +#ifdef __APPLE__
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <Availability.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __has_include(<Availability.h>)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  include <Availability.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#    define __APPLE_BAD_MATH_H 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  define __APPLE_BAD_MATH_H 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if __APPLE_BAD_MATH_H
</span> +/* These prototypes are incorrectly omitted from <math.h> on Snow Leopard despite being available */
 +extern "C" {
 +    extern long long int llrintl(long double);
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,12 +40,12 @@ index ebbde18..f6d0d31 100644
</span> +    extern long long int llround(double);
 +    extern long long int llroundf(float);
 +}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# endif
</span> +#endif // __APPLE__
 +
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #pragma GCC system_header
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __cplusplus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // We support including .h headers inside 'extern "C"' contexts, so switch
</span> -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch b/lang/llvm-devel/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index bec0ff3..dd25a17 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From bfb3ae7b99d4efea34677d6931329efbb423415d Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 74fef469992fa91f4552891fa6ae9ff9f966c3aa Mon Sep 17 00:00:00 2001
</span> From: David Fang <fang@csl.cornell.edu>
 Date: Wed, 15 Jan 2014 21:27:34 -0800
 Subject: [PATCH 3005/3005] implement atomic<> using mutex/lock_guard for 64b
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -257,10 +257,10 @@ index 0000000..f10dd74
</span> +
 +#endif  // _LIBCPP_ATOMIC_LOCKED
 diff --git llvm_master/projects/libcxx/include/atomic macports_master/projects/libcxx/include/atomic
<span style='display:block; white-space:pre;background:#ffe0e0;'>-index 13965fb..fb0266a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a25b5bf..91abcc3 100644
</span> --- llvm_master/projects/libcxx/include/atomic
 +++ macports_master/projects/libcxx/include/atomic
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1791,4 +1791,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1840,4 +1840,50 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
</span>  
  _LIBCPP_END_NAMESPACE_STD
  
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -312,5 +312,5 @@ index 13965fb..fb0266a 100644
</span> +
  #endif  // _LIBCPP_ATOMIC
 -- 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-2.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.1
</span> 
</pre><pre style='margin:0'>

</pre>