summaryrefslogtreecommitdiff
path: root/sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2015-05-22 13:34:27 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2015-05-22 13:34:27 +0300
commit607c21be93ef467d9f88a831a84b829c99e6ee1a (patch)
tree3f112917536d7a9d0600afd4210c7722a13973c7 /sys-devel/clang/files/clang-2.8-gcc-4.4.4.patch
parent11c9581a4a381cf91d76eb918e5c8520dc5e7258 (diff)
clang from gentoo repo
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 0000000..f60d051
--- /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",