summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-04-12 22:53:55 +1000
committerMichael Palimaka <kensington@gentoo.org>2019-04-12 22:54:31 +1000
commitbf8a52d0924b851e7818835c98b7ade32e471460 (patch)
tree1a849fe2f0b83b33934f603fa691a94cb74b89b0 /dev-cpp/rttr/files/rttr-0.9.6-werror.patch
parentdev-libs/rttr: new package (diff)
downloadgentoo-bf8a52d0924b851e7818835c98b7ade32e471460.tar.gz
gentoo-bf8a52d0924b851e7818835c98b7ade32e471460.tar.bz2
gentoo-bf8a52d0924b851e7818835c98b7ade32e471460.zip
dev-cpp/rttr: move from dev-libs
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-cpp/rttr/files/rttr-0.9.6-werror.patch')
-rw-r--r--dev-cpp/rttr/files/rttr-0.9.6-werror.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-cpp/rttr/files/rttr-0.9.6-werror.patch b/dev-cpp/rttr/files/rttr-0.9.6-werror.patch
new file mode 100644
index 000000000000..04c65203ac91
--- /dev/null
+++ b/dev-cpp/rttr/files/rttr-0.9.6-werror.patch
@@ -0,0 +1,18 @@
+This causes build failures with modern GCC, and is against Gentoo policy in any case.
+
+--- a/CMake/utility.cmake
++++ b/CMake/utility.cmake
+@@ -392,11 +392,9 @@
+ ####################################################################################
+ function( set_compiler_warnings target)
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+- set(WARNINGS "-Werror"
+- "-Wall")
++ set(WARNINGS "-Wall")
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+- set(WARNINGS "-Werror"
+- "-Wall")
++ set(WARNINGS "-Wall")
+ elseif(MSVC)
+ set(WARNINGS "/WX"
+ "/W4")