public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: - Patch to fix opening issue from browser (#431769)
@ 2026-07-20 20:36 Denis Leroy
  0 siblings, 0 replies; only message in thread
From: Denis Leroy @ 2026-07-20 20:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : 412483c6d0d07e4154d84c0fefeb4a9ec5e00bdd
            Author : Denis Leroy <denis@fedoraproject.org>
            Date   : 2008-05-06T07:26:43+00:00
            Stats  : +48/-1 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/412483c6d0d07e4154d84c0fefeb4a9ec5e00bdd?branch=epel10

            Log:
            - Patch to fix opening issue from browser (#431769)
- Patch to fix hardcoded optimize compile flags

---
diff --git a/transmission-1.11-copt.patch b/transmission-1.11-copt.patch
new file mode 100644
index 0000000..8ee2585
--- /dev/null
+++ b/transmission-1.11-copt.patch
@@ -0,0 +1,13 @@
+--- transmission-1.11/configure.orig	2008-05-02 15:58:10.000000000 +0200
++++ transmission-1.11/configure	2008-05-02 15:58:20.000000000 +0200
+@@ -20809,8 +20809,8 @@
+ 
+ 
+ if test "x$GCC" = "xyes" ; then
+-    CFLAGS="-g -Wall -W -O3 -funroll-loops"
+-    CXXFLAGS="-g -Wall -W -O3 -funroll-loops"
++    CFLAGS="-Wall -W"
++    CXXFLAGS="-Wall -W"
+ fi
+ { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+ echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }

diff --git a/transmission-1.11-socket.patch b/transmission-1.11-socket.patch
new file mode 100644
index 0000000..78c77fc
--- /dev/null
+++ b/transmission-1.11-socket.patch
@@ -0,0 +1,26 @@
+--- transmission-1.11/gtk/conf.c~	2008-04-04 21:27:33.000000000 +0200
++++ transmission-1.11/gtk/conf.c	2008-05-02 18:11:16.000000000 +0200
+@@ -103,8 +103,10 @@
+ static void
+ cf_removelocks( void )
+ {
+-    g_unlink( gl_lockpath );
+-    g_free( gl_lockpath );
++    if ( gl_lockpath ) {
++	g_unlink( gl_lockpath );
++	g_free( gl_lockpath );
++    }
+ }
+ 
+ /* errstr may be NULL, this might be called before GTK is initialized */
+--- transmission-1.11/gtk/ipc.c~	2008-04-04 21:27:33.000000000 +0200
++++ transmission-1.11/gtk/ipc.c	2008-05-02 18:56:50.000000000 +0200
+@@ -339,7 +350,7 @@
+   }
+ 
+   g_main_loop_run(con->u.client.loop);
+-
++  sleep(1);
+   return ret;
+ }
+ 

diff --git a/transmission.spec b/transmission.spec
index 372bd0e..2eef4fd 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,7 +1,7 @@
 
 Name:           transmission
 Version:        1.11
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 
 Group:          Applications/Internet
@@ -10,6 +10,8 @@ URL:            http://www.transmissionbt.com/
 Source0:        http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2
 Patch0:         transmission-0.81-downloaddir.patch
 Patch1:         transmission-1.05-gnusource.patch
+Patch2:         transmission-1.11-copt.patch
+Patch3:         transmission-1.11-socket.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  openssl-devel >= 0.9.4
@@ -30,6 +32,8 @@ back-end.
 %setup -q
 %patch0 -p1 -b .dwnldir
 %patch1 -p1 -b .gnusrc
+%patch2 -p1 -b .copt
+%patch3 -p1 -b .socket
 
 
 %build
@@ -72,6 +76,10 @@ update-desktop-database > /dev/null 2>&1 || :
 
 
 %changelog
+* Tue May  6 2008 Denis Leroy <denis@poolshark.org> - 1.11-2
+- Patch to fix opening issue from browser (#431769)
+- Patch to fix hardcoded optimize compile flags
+
 * Fri May  2 2008 Denis Leroy <denis@poolshark.org> - 1.11-1
 - Update to upstream 1.11, many bug fixes
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:36 [rpms/transmission] epel10: - Patch to fix opening issue from browser (#431769) Denis Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox