summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2019-12-26 06:47:13 +0900
committerNaohiro Aota <naota@gentoo.org>2019-12-27 11:46:13 +0900
commitf3dd9104e7803e30f988fc8c83c092998fa1560d (patch)
tree0ddbb2917f482e08150dfe3213d904c54cff0450 /dev-util/perf/files
parentx11-terms/alacritty: relocate CARGO_INSTALL_PATH definition (diff)
downloadgentoo-f3dd9104e7803e30f988fc8c83c092998fa1560d.tar.gz
gentoo-f3dd9104e7803e30f988fc8c83c092998fa1560d.tar.bz2
gentoo-f3dd9104e7803e30f988fc8c83c092998fa1560d.zip
version bump with some fixes
This commit add a multiple python version support to address python3 installtion issue. (based on a patch from Holger Hoffstätte <holger@applied-asynchrony.com>) Also, this commit add a patch to build with >=sys-devel/clang-9. (patch from Maciej S. Szmigiero <mail@maciej.szmigiero.name> and Dennis Schridde <devurandom@gmx.net>). Closes: https://bugs.gentoo.org/679762 Closes: https://bugs.gentoo.org/695726 Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'dev-util/perf/files')
-rw-r--r--dev-util/perf/files/perf-5.4.6-fix-clang9.patch17
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 =