* Mon Sep 20 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-2

- Added patch to fix https://trac.transmissionbt.com/ticket/3539
epel9
Ankur Sinha 15 years ago
commit 4fa92f97c0

@ -0,0 +1,12 @@
diff -ur ../transmission-2.04.orig/libtransmission/torrent-magnet.c ./libtransmission/torrent-magnet.c
--- ../transmission-2.04.orig/libtransmission/torrent-magnet.c 2010-08-07 09:04:35.000000000 +0530
+++ ./libtransmission/torrent-magnet.c 2010-09-20 13:32:57.160346620 +0530
@@ -116,7 +116,7 @@
int infoLen;
char * infoContents = tr_bencToStr( infoDict, TR_FMT_BENC, &infoLen );
const uint8_t * i = (const uint8_t*) tr_memmem( (char*)fileContents, fileLen, infoContents, infoLen );
- offset = i == NULL ? i - fileContents : 0;
+ offset = i != NULL ? i - fileContents : 0;
tr_free( infoContents );
}

@ -1,6 +1,6 @@
Name: transmission Name: transmission
Version: 2.04 Version: 2.04
Release: 1%{?dist} Release: 2%{?dist}
Summary: A lightweight GTK+ BitTorrent client Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet Group: Applications/Internet
@ -28,6 +28,7 @@ BuildRequires: GConf2-devel
BuildRequires: qt4-devel BuildRequires: qt4-devel
# this modification applies to the Qt qtr.pro file # this modification applies to the Qt qtr.pro file
Patch1: fix-optflags.patch Patch1: fix-optflags.patch
Patch2: transmission-3539.patch
Requires: transmission-cli Requires: transmission-cli
Requires: transmission-gtk Requires: transmission-gtk
%description %description
@ -92,6 +93,7 @@ exit 0
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon %configure --disable-static --with-gtk --without-wx --enable-libcanberra --enable-libnotify --enable-daemon
@ -197,8 +199,11 @@ update-desktop-database > /dev/null 2>&1 || :
%{_datadir}/applications/qtr.desktop %{_datadir}/applications/qtr.desktop
%changelog %changelog
* Mon Sep 20 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-2
- Added patch to fix https://trac.transmissionbt.com/ticket/3539
* Mon Aug 09 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-1 * Mon Aug 09 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-1
- updated to latest release - Updated to latest release
- bug 622239 - bug 622239
* Wed Jul 21 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.03-1 * Wed Jul 21 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.03-1

Loading…
Cancel
Save