qbittorrent: update to 3.3.4

This commit is contained in:
Jürgen Buchmüller 2016-04-12 10:37:56 +02:00
parent 7df6a4d857
commit f44f279cdd
3 changed files with 25 additions and 32 deletions

View file

@ -0,0 +1,23 @@
--- src/app/main.cpp 2016-03-29 22:24:47.000000000 +0200
+++ src/app/main.cpp 2016-04-12 10:42:35.621054446 +0200
@@ -59,8 +59,10 @@
#ifdef Q_OS_UNIX
#include <signal.h>
+#if defined(__GLIBC__)
#include <execinfo.h>
#include "stacktrace.h"
+#endif
#endif // Q_OS_UNIX
#ifdef STACKTRACE_WIN
@@ -347,7 +349,9 @@
write(STDERR_FILENO, str1, strlen(str1));
write(STDERR_FILENO, sigName, strlen(sigName));
write(STDERR_FILENO, str2, strlen(str2));
+#if defined(__GLIBC__)
print_stacktrace(); // unsafe
+#endif
#endif // !defined Q_OS_WIN && !defined Q_OS_HAIKU
#ifdef STACKTRACE_WIN
StraceDlg dlg; // unsafe

View file

@ -1,30 +0,0 @@
--- src/app/main.cpp 2015-05-10 03:31:33.000000000 +0200
+++ src/app/main.cpp 2015-06-23 02:03:55.384011534 +0200
@@ -53,7 +53,9 @@
#ifdef Q_OS_UNIX
#include <signal.h>
+#if defined(__GLIBC__)
#include <execinfo.h>
#include "stacktrace.h"
+#endif
#endif // Q_OS_UNIX
@@ -300,7 +302,7 @@
{
signal(SIGABRT, 0);
signal(SIGSEGV, 0);
-#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
+#if !defined Q_OS_WIN && !defined Q_OS_HAIKU && defined __GLIBC__
std::cerr << "\n\n*************************************************************\n";
std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
std::cerr << "qBittorrent version: " << VERSION << std::endl;
@@ -319,7 +321,7 @@
{
signal(SIGABRT, 0);
signal(SIGSEGV, 0);
-#if !defined Q_OS_WIN && !defined Q_OS_HAIKU
+#if !defined Q_OS_WIN && !defined Q_OS_HAIKU && defined __GLIBC__
std::cerr << "\n\n*************************************************************\n";
std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
std::cerr << "qBittorrent version: " << VERSION << std::endl;

View file

@ -1,6 +1,6 @@
# Template file for 'qbittorrent'
pkgname=qbittorrent
version=3.3.3
version=3.3.4
revision=1
build_style=qmake
hostmakedepends="automake libtool pkg-config qt5-tools"
@ -11,7 +11,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=9c8d8bdc3fb2632019cb3ee5f811baaa41b41fe7ce542c753c6771bcc110db53
checksum=c0d0d4b72c240f113b59a061146803bc1b7926d3d7f39b06b50a4d26f5ad91b8
build_options="gui webui"
desc_option_gui="Enable the graphical user interface"
desc_option_webui="Enable the web user interface"