summaryrefslogtreecommitdiff
path: root/community/llvm/cpp-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/llvm/cpp-headers.patch')
-rw-r--r--community/llvm/cpp-headers.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/llvm/cpp-headers.patch b/community/llvm/cpp-headers.patch
new file mode 100644
index 000000000..7e32a3f5b
--- /dev/null
+++ b/community/llvm/cpp-headers.patch
@@ -0,0 +1,17 @@
+diff -uprb clang-2.7.orig/lib/Frontend/InitHeaderSearch.cpp clang-2.7/lib/Frontend/InitHeaderSearch.cpp
+--- clang-2.7.orig/lib/Frontend/InitHeaderSearch.cpp 2010-03-06 21:38:10.000000000 +0200
++++ clang-2.7/lib/Frontend/InitHeaderSearch.cpp 2010-04-30 19:05:24.000000000 +0300
+@@ -539,10 +539,10 @@ void InitHeaderSearch::AddDefaultCPlusPl
+ "i586-suse-linux", "", "", triple);
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4",
+ "x86_64-suse-linux", "", "", triple);
+- // Arch Linux 2008-06-24
+- AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3.1",
++ // Arch Linux 2010-12-17
++ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.2",
+ "i686-pc-linux-gnu", "", "", triple);
+- AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3.1",
++ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.5.2",
+ "x86_64-unknown-linux-gnu", "", "", triple);
+ // Gentoo x86 2009.1 stable
+ AddGnuCPlusPlusIncludePaths(