summaryrefslogtreecommitdiff
path: root/net-p2p/qbittorrent/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-10 19:15:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-10 19:15:28 +0000
commitda6a52f691ef980bab92d003d5df8f463c623af8 (patch)
tree4d89e0d5915f8a3f57c8f9c17420ba3f7b44b7b2 /net-p2p/qbittorrent/files
parent80208fb578cf92cc308906660ca6d7860c6b2a1f (diff)
gentoo resync : 10.03.2018
Diffstat (limited to 'net-p2p/qbittorrent/files')
-rw-r--r--net-p2p/qbittorrent/files/qbittorrent-4.0.4-werror.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/files/qbittorrent-4.0.4-werror.patch b/net-p2p/qbittorrent/files/qbittorrent-4.0.4-werror.patch
new file mode 100644
index 000000000000..6d02e31f9bcb
--- /dev/null
+++ b/net-p2p/qbittorrent/files/qbittorrent-4.0.4-werror.patch
@@ -0,0 +1,24 @@
+Bug: https://bugs.gentoo.org/641382
+
+--- a/cmake/Modules/MacroQbtCompilerSettings.cmake
++++ b/cmake/Modules/MacroQbtCompilerSettings.cmake
+@@ -11,16 +11,15 @@
+ #-Wshadow -Wconversion ?
+ set(_GCC_COMMON_C_AND_CXX_FLAGS "-Wall -Wextra"
+ "-Wfloat-equal -Wcast-qual -Wcast-align"
+- "-Wsign-conversion -Winvalid-pch -Werror=return-type -Wno-long-long"
++ "-Wsign-conversion -Winvalid-pch -Wno-long-long"
+ # -fstack-protector-all
+- "-Werror -Wno-error=deprecated-declarations"
++ "-Wno-error=deprecated-declarations"
+ )
+ set (_GCC_COMMON_CXX_FLAGS "-fexceptions -frtti"
+ "-Woverloaded-virtual -Wold-style-cast -Wstrict-null-sentinel"
+ "-Wnon-virtual-dtor -Wfloat-equal -Wcast-qual -Wcast-align"
+- "-Werror=overloaded-virtual"
+ # "-Weffc++"
+- "-Werror -Wno-error=cpp"
++ "-Wno-error=cpp"
+ # we should modify code to make these ones obsolete
+ "-Wno-error=sign-conversion -Wno-error=float-equal"
+ )