summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-03-10 12:45:23 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-03-10 12:51:31 +1100
commit25253a5af117972cfb30dfc998b2f030554c0a3c (patch)
tree702e56def96d00174ab99397dda155d6b047ac50 /net-p2p/qbittorrent/files
parentnet-p2p/qbittorrent: add subslot operator (diff)
downloadgentoo-25253a5af117972cfb30dfc998b2f030554c0a3c.tar.gz
gentoo-25253a5af117972cfb30dfc998b2f030554c0a3c.tar.bz2
gentoo-25253a5af117972cfb30dfc998b2f030554c0a3c.zip
net-p2p/qbittorrent: version bump 4.0.4
Closes: https://bugs.gentoo.org/649914 Closes: https://bugs.gentoo.org/641382 Package-Manager: Portage-2.3.19, Repoman-2.3.6
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"
+ )