[qbittorrent] * Fri Jul 30 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.3.0-2 - rebuild for new boost versi

Leigh Scott leigh123linux at fedoraproject.org
Mon Aug 2 18:17:46 UTC 2010


commit a065a38dc12323f24ee83cd295634536e477fbf7
Author: Leigh Scott <leigh123linux at googlemail.com>
Date:   Mon Aug 2 19:17:41 2010 +0100

    * Fri Jul 30 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.3.0-2
    - rebuild for new boost version
    - add gcc45 patch (temporary patch till it's fixed properly)

 gcc45_temp_fix.patch |   25 +++++++++++++++++++++++++
 qbittorrent.spec     |    3 +++
 2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/gcc45_temp_fix.patch b/gcc45_temp_fix.patch
new file mode 100644
index 0000000..50c0009
--- /dev/null
+++ b/gcc45_temp_fix.patch
@@ -0,0 +1,25 @@
+--- qbittorrent-2.3.0/src/main.cpp.orig	2010-07-27 09:03:38.000000000 +0100
++++ qbittorrent-2.3.0/src/main.cpp	2010-08-02 19:09:56.000000000 +0100
+@@ -129,22 +129,6 @@ void sigtermHandler(int) {
+   qDebug("Catching SIGTERM, exiting cleanly");
+   qApp->exit();
+ }
+-void sigsegvHandler(int) {
+-  signal(SIGABRT, 0);
+-  signal(SIGSEGV, 0);
+-  std::cerr << "\n\n*************************************************************\n";
+-  std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
+-  print_stacktrace();
+-  std::raise(SIGSEGV);
+-}
+-void sigabrtHandler(int) {
+-  signal(SIGABRT, 0);
+-  signal(SIGSEGV, 0);
+-  std::cerr << "\n\n*************************************************************\n";
+-  std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n";
+-  print_stacktrace();
+-  std::raise(SIGABRT);
+-}
+ #endif
+ 
+ #ifndef DISABLE_GUI
diff --git a/qbittorrent.spec b/qbittorrent.spec
index b8501d3..583e7f2 100644
--- a/qbittorrent.spec
+++ b/qbittorrent.spec
@@ -16,6 +16,7 @@ Source0: http://downloads.sf.net/qbittorrent/%{name}-%{version}.tar.gz
 Source1: qbittorrent-nox.README
 Patch0:  disable_extra_debug.patch
 Patch1:  qt_deprecated.patch
+Patch2:  gcc45_temp_fix.patch
 
 # Upstream patches
 
@@ -53,6 +54,7 @@ It aims to be as fast as possible and to provide multi-OS, unicode support.
 %setup -q -n %{name}-%{version}
 #%patch0 -p1 -b .disable_extra_debug
 %patch1 -p1 -b .qt_deprecated
+%patch2 -p1 -b .gcc45_temp_fix
 # Upstream patches
 
 cp -p %{SOURCE1} .
@@ -129,6 +131,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %changelog
 * Fri Jul 30 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.3.0-2
 - rebuild for new boost version
+- add gcc45 patch (temporary patch till it's fixed properly)
 
 * Tue Jul 27 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.3.0-1
 - update to 2.3.0 final


More information about the scm-commits mailing list