diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-08-22 15:43:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-08-22 17:11:50 +0200 |
commit | 11d093e4ec16f42e733d605dccf3100d4bb435ba (patch) | |
tree | 430bb5398c01766b2874e1226a187749ffa98f69 /sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch | |
parent | sys-devel/clang: Enable stand-alone builds against sys-devel/llvm (diff) | |
download | gentoo-11d093e4ec16f42e733d605dccf3100d4bb435ba.tar.gz gentoo-11d093e4ec16f42e733d605dccf3100d4bb435ba.tar.bz2 gentoo-11d093e4ec16f42e733d605dccf3100d4bb435ba.zip |
sys-devel/llvm: Group all patches by newest version applicable
Diffstat (limited to 'sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch')
-rw-r--r-- | sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch b/sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch new file mode 100644 index 000000000000..78ca922b6366 --- /dev/null +++ b/sys-devel/llvm/files/3.7.1/clang/ccc-analyzer-isystem.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/586168 + +Index: tools/clang/tools/scan-build/ccc-analyzer +=================================================================== +--- a/tools/clang/tools/scan-build/ccc-analyzer (revision 250980) ++++ b/tools/clang/tools/scan-build/ccc-analyzer (working copy) +@@ -586,9 +586,9 @@ + } + + # Compile mode flags. +- if ($Arg =~ /^-[D,I,U,isystem](.*)$/) { ++ if ($Arg =~ /^-(D|I|U|isystem)(.*)$/) { + my $Tmp = $Arg; +- if ($1 eq '') { ++ if ($2 eq '') { + # FIXME: Check if we are going off the end. + ++$i; + $Tmp = $Arg . $ARGV[$i]; |