qbittorrent: update to 4.1.5

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-12-27 19:56:55 +01:00
parent 434c03bce5
commit 27b5c4f801
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 2 additions and 41 deletions

View file

@ -1,39 +0,0 @@
diff -ru build-x11.orig/src/src.pro build-x11/src/src.pro
Fix a SEGFAULT in qbittorrent when opening with existing torrents
or when adding a new torrent.
qbittorrent is compiled using -std=c++11 but boost and libtorrent-rasterbar
are compiled with whatever gcc uses as default and that seems to have switched
recently to c++14 in Void.
However switching below option to c++14 actually adds the
compile flag -std=g++1y which is a gnu variant of c++14 I am not sure if that
causes another trouble later.
Let's just mimic what the other packages do: do not set the support level
and let the compiler handle it.
PS: src/CMakeList.txt sets the support level based on compiler support but Void
builds using qmake instead of cmake.
see also https://github.com/qbittorrent/qBittorrent/issues/9485
--- build-x11.orig/src/src.pro 2018-10-24 16:22:14.256256510 +0200
+++ build-x11/src/src.pro 2018-10-24 16:50:50.260499780 +0200
@@ -2,9 +2,6 @@
TEMPLATE = app
CONFIG += qt thread silent
-# C++11 support
-CONFIG += c++11
-
# Platform specific configuration
win32: include(../winconf.pri)
macx: include(../macxconf.pri)
diff -ru build-nox.orig/src/src.pro build-nox/src/src.pro
--- build-nox.orig/src/src.pro 2018-10-24 16:22:14.256256510 +0200
+++ build-nox/src/src.pro 2018-10-24 16:50:50.260499780 +0200
@@ -2,9 +2,6 @@
TEMPLATE = app
CONFIG += qt thread silent
-# C++11 support
-CONFIG += c++11
-
# Platform specific configuration
win32: include(../winconf.pri)
macx: include(../macxconf.pri)

View file

@ -1,6 +1,6 @@
# Template file for 'qbittorrent'
pkgname=qbittorrent
version=4.1.4
version=4.1.5
revision=1
create_wrksrc=yes
build_style=qmake
@ -12,7 +12,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=5f7b4c5ae891ce7fbab880ff322764a0d433fccf655164f6b98ef08f1ae52386
checksum=866e07c7886dea62cf0d7dc9a68d9aee1931cd18483b418298b2b072c9afd62a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel qt5-svg-devel"