summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-15 22:22:44 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-17 01:12:20 +0100
commit664209dc8505d9aa1fd12ed289969ee181b9e551 (patch)
treea3f765cb879114b08e14ed387282c11c375a3406 /net-im/qtox/files/qtox-1.16.3-qt-5.13.patch
parentdev-qt/qtgui: Restore QHighDPIScaling::isActive() 5.13 behavior (diff)
downloadgentoo-664209dc8505d9aa1fd12ed289969ee181b9e551.tar.gz
gentoo-664209dc8505d9aa1fd12ed289969ee181b9e551.tar.bz2
gentoo-664209dc8505d9aa1fd12ed289969ee181b9e551.zip
net-im/qtox: EAPI-7 bump, use cmake.eclass, fix build with Qt-5.13
Closes: https://bugs.gentoo.org/699152 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-im/qtox/files/qtox-1.16.3-qt-5.13.patch')
-rw-r--r--net-im/qtox/files/qtox-1.16.3-qt-5.13.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-im/qtox/files/qtox-1.16.3-qt-5.13.patch b/net-im/qtox/files/qtox-1.16.3-qt-5.13.patch
new file mode 100644
index 000000000000..16805843253a
--- /dev/null
+++ b/net-im/qtox/files/qtox-1.16.3-qt-5.13.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt 2020-01-15 22:17:59.921502029 +0100
++++ b/CMakeLists.txt 2020-01-15 22:19:55.834885195 +0100
+@@ -48,7 +48,6 @@
+ set(RCC_OPTIONS -compress 9 -threshold 0)
+
+ # Use C++11.
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
+
+@@ -56,7 +55,6 @@
+ set(POSITION_INDEPENDENT_CODE True)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-overflow")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing")
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
+
+ if (NOT WIN32)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all")