rpms/qbittorrent/devel duplicate-crash.patch, NONE, 1.1 qbittorrent.spec, 1.82, 1.83

Leigh Scott leigh123linux at fedoraproject.org
Tue Feb 9 10:32:09 UTC 2010


Author: leigh123linux

Update of /cvs/pkgs/rpms/qbittorrent/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27124

Modified Files:
	qbittorrent.spec 
Added Files:
	duplicate-crash.patch 
Log Message:
* Tue Feb 09 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.2.0-0.6.beta3
- add duplicate crash patch to fix crash when adding 
  a torrent that already exists in the transfer list


duplicate-crash.patch:
 bittorrent.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE duplicate-crash.patch ---
Index: qbittorrent-2.2.0beta3/src/bittorrent.cpp
===================================================================
--- qbittorrent-2.2.0beta3.orig/src/bittorrent.cpp	(revision 3555)
+++ qbittorrent-2.2.0beta3/src/bittorrent.cpp	(revision 3556)
@@ -994,10 +994,10 @@
               break;
             }
           }
-          if(!found) {
+          if(found) {
             trackers_added = true;
             announce_entry entry(tracker_url);
-            h.add_tracker(entry);
+            h_ex.add_tracker(entry);
           }
         }
         if(trackers_added) {


Index: qbittorrent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qbittorrent/devel/qbittorrent.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -p -r1.82 -r1.83
--- qbittorrent.spec	8 Feb 2010 19:38:00 -0000	1.82
+++ qbittorrent.spec	9 Feb 2010 10:32:09 -0000	1.83
@@ -3,7 +3,7 @@
 Name:    qbittorrent
 Summary: A Bittorrent Client 
 Version: 2.2.0
-Release: 0.5.beta3%{?dist}
+Release: 0.6.beta3%{?dist}
 # The source for this package was pulled from upstream's vcs.  Use the
 # following commands to generate the tarball:
 # svn checkout -r %{svn_rev} https://qbittorrent.svn.sourceforge.net/svnroot/qbittorrent/trunk qbittorrent
@@ -16,7 +16,7 @@ Source1: qbittorrent-nox.README
 Patch0:  disable_extra_debug.patch
 
 # Upstream patches
-
+Patch1:  duplicate-crash.patch
 
 URL: http://sourceforge.net/projects/qbittorrent
 Group: Applications/Internet
@@ -48,6 +48,8 @@ It aims to be as fast as possible and to
 %setup -q -n %{name}-%{version}beta3
 %patch0 -p1 -b .disable_extra_debug
 # Upstream patches
+%patch1 -p1 -b .duplicate-crash
+
 cp -p %{SOURCE1} .
 
 %build
@@ -120,6 +122,10 @@ gtk-update-icon-cache %{_datadir}/icons/
 
 
 %changelog
+* Tue Feb 09 2010 Leigh Scott <leigh123linux at googlemail.com> - 2.2.0-0.6.beta3
+- add duplicate crash patch to fix crash when adding 
+  a torrent that already exists in the transfer list
+
 * Mon Feb 08 2010 leigh scott <leigh123linux at googlemail.com> - 2.2.0-0.5.beta3
 - update to 2.2.0beta3
 



More information about the scm-commits mailing list