public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha <ankursinha@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: * Mon Sep 20 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-2
Date: Mon, 20 Jul 2026 20:36:53 GMT	[thread overview]
Message-ID: <178457981320.1.6570963094124624939.rpms-transmission-4fa92f97c08d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : 4fa92f97c08d3d35bf5cefc875ce16b12348343e
            Author : Ankur Sinha <ankursinha@fedoraproject.org>
            Date   : 2010-09-20T13:47:02+05:30
            Stats  : +19/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/4fa92f97c08d3d35bf5cefc875ce16b12348343e?branch=epel10

            Log:
            * Mon Sep 20 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-2
- Added patch to fix https://trac.transmissionbt.com/ticket/3539

---
diff --git a/transmission-3539.patch b/transmission-3539.patch
new file mode 100644
index 0000000..ea4ddba
--- /dev/null
+++ b/transmission-3539.patch
@@ -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 );
+             }
+ 

diff --git a/transmission.spec b/transmission.spec
index 725f245..3893b05 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
 Name:           transmission
 Version:        2.04
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 
 Group:          Applications/Internet
@@ -28,6 +28,7 @@ BuildRequires:  GConf2-devel
 BuildRequires:  qt4-devel
 # this modification applies to the Qt qtr.pro file
 Patch1:         fix-optflags.patch
+Patch2:         transmission-3539.patch
 Requires: transmission-cli
 Requires: transmission-gtk
 %description
@@ -92,6 +93,7 @@ exit 0
 %prep
 %setup -q 
 %patch1 -p1
+%patch2 -p1
 
 %build
 %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
 
 %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
-- updated to latest release
+- Updated to latest release
 - bug 622239
 
 * Wed Jul 21 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.03-1

             reply	other threads:[~2026-07-20 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-20 20:36 Ankur Sinha [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-20 20:36 [rpms/transmission] epel10: * Mon Sep 20 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.04-2 Ankur Sinha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457981320.1.6570963094124624939.rpms-transmission-4fa92f97c08d@fedoraproject.org \
    --to=ankursinha@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox