summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch')
-rw-r--r--sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch b/sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch
new file mode 100644
index 000000000000..f60d051e9d49
--- /dev/null
+++ b/sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch
@@ -0,0 +1,16 @@
+Index: tools/clang/lib/Frontend/InitHeaderSearch.cpp
+===================================================================
+--- tools/clang/lib/Frontend/InitHeaderSearch.cpp (révision 119347)
++++ tools/clang/lib/Frontend/InitHeaderSearch.cpp (révision 119348)
+@@ -745,6 +745,11 @@
+ "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include/g++-v4",
+ "x86_64-pc-linux-gnu", "32", "", triple);
+
++ // Gentoo amd64 gcc 4.4.4
++ AddGnuCPlusPlusIncludePaths(
++ "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include/g++-v4",
++ "x86_64-pc-linux-gnu", "32", "", triple);
++
+ // Gentoo amd64 llvm-gcc trunk
+ AddGnuCPlusPlusIncludePaths(
+ "/usr/lib/llvm-gcc-4.2-9999/include/c++/4.2.1",