diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-util/perf/files/perf-5.4.6-fix-clang9.patch | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-util/perf/files/perf-5.4.6-fix-clang9.patch')
-rw-r--r-- | dev-util/perf/files/perf-5.4.6-fix-clang9.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-util/perf/files/perf-5.4.6-fix-clang9.patch b/dev-util/perf/files/perf-5.4.6-fix-clang9.patch new file mode 100644 index 000000000000..614e62f676d2 --- /dev/null +++ b/dev-util/perf/files/perf-5.4.6-fix-clang9.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/695726 +Created-By: Maciej S. Szmigiero <mail@maciej.szmigiero.name> +Created-By: Dennis Schridde <devurandom@gmx.net> +--- a/tools/perf/util/c++/clang.cpp.orig 2019-12-20 16:39:21.015363866 +0100 ++++ b/tools/perf/util/c++/clang.cpp 2019-12-20 16:40:04.051639185 +0100 +@@ -71,7 +71,11 @@ + CompilerInstance Clang; + Clang.createDiagnostics(); + ++#if CLANG_VERSION_MAJOR < 9 + Clang.setVirtualFileSystem(&*VFS); ++#else ++ Clang.createFileManager(&*VFS); ++#endif + + #if CLANG_VERSION_MAJOR < 4 + IntrusiveRefCntPtr<CompilerInvocation> CI = |