diff --git a/srcpkgs/qbittorrent/patches/musl-execinfo.patch b/srcpkgs/qbittorrent/patches/musl-execinfo.patch new file mode 100644 index 00000000000..b9a3c68237c --- /dev/null +++ b/srcpkgs/qbittorrent/patches/musl-execinfo.patch @@ -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 ++#if defined(__GLIBC__) + #include + #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 diff --git a/srcpkgs/qbittorrent/patches/musl-execinfo_h.patch b/srcpkgs/qbittorrent/patches/musl-execinfo_h.patch deleted file mode 100644 index b2c301e007a..00000000000 --- a/srcpkgs/qbittorrent/patches/musl-execinfo_h.patch +++ /dev/null @@ -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 -+#if defined(__GLIBC__) - #include - #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; diff --git a/srcpkgs/qbittorrent/template b/srcpkgs/qbittorrent/template index 3440ac568e1..b3b91050429 100644 --- a/srcpkgs/qbittorrent/template +++ b/srcpkgs/qbittorrent/template @@ -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 " 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"