From e4a7264ac10238e76cfa3139a4efa72d976ee1c0 Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 4 Oct 2017 22:47:28 +0200 Subject: [PATCH] qtox: update to 1.12.0. --- srcpkgs/qtox/patches/Werror.patch | 13 +++++++++++++ srcpkgs/qtox/template | 8 ++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/qtox/patches/Werror.patch diff --git a/srcpkgs/qtox/patches/Werror.patch b/srcpkgs/qtox/patches/Werror.patch new file mode 100644 index 00000000000..deae5b5a4db --- /dev/null +++ b/srcpkgs/qtox/patches/Werror.patch @@ -0,0 +1,13 @@ +https://github.com/qTox/qTox/issues/4699 +https://github.com/qTox/qTox/issues/4707 + +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -53,7 +53,6 @@ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE -fPIC") + 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") diff --git a/srcpkgs/qtox/template b/srcpkgs/qtox/template index 22fcb920b15..998a5660170 100644 --- a/srcpkgs/qtox/template +++ b/srcpkgs/qtox/template @@ -1,7 +1,7 @@ # Template file for 'qtox' pkgname=qtox -version=1.11.0 -revision=3 +version=1.12.0 +revision=1 build_style=cmake short_desc="QT-based TOX instant messenger client" maintainer="Spencer Hill " @@ -12,8 +12,8 @@ makedepends="toxcore-devel filter_audio-devel ffmpeg-devel qt5-svg-devel qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel sqlcipher-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite - qt5-plugin-tds opus-devel" + qt5-plugin-tds opus-devel libexif-devel" depends="qt5-plugin-sqlite" distfiles="https://github.com/tux3/qTox/archive/v${version}.tar.gz" -checksum=be38517cd915727dbd9b3cd2a51bbaf1cae28290de07a34c759ec8b77c502cd4 +checksum=8fba9bb465bb289ed24b7debf0ff860c3987dbe5c1b256ce619041641ddb8f79 wrksrc="qTox-${version}"