rpms/transmission/devel transmission-1.11-copt.patch, NONE, 1.1 transmission-1.11-socket.patch, NONE, 1.1 transmission.spec, 1.20, 1.21

Denis Leroy (denis) fedora-extras-commits at redhat.com
Tue May 6 07:27:20 UTC 2008


Author: denis

Update of /cvs/pkgs/rpms/transmission/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4114

Modified Files:
	transmission.spec 
Added Files:
	transmission-1.11-copt.patch transmission-1.11-socket.patch 
Log Message:
- Patch to fix opening issue from browser (#431769)
- Patch to fix hardcoded optimize compile flags


transmission-1.11-copt.patch:

--- NEW FILE transmission-1.11-copt.patch ---
--- 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; }

transmission-1.11-socket.patch:

--- NEW FILE transmission-1.11-socket.patch ---
--- 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;
 }
 


Index: transmission.spec
===================================================================
RCS file: /cvs/pkgs/rpms/transmission/devel/transmission.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- transmission.spec	2 May 2008 10:06:34 -0000	1.20
+++ transmission.spec	6 May 2008 07:26:43 -0000	1.21
@@ -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 @@
 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 @@
 %setup -q
 %patch0 -p1 -b .dwnldir
 %patch1 -p1 -b .gnusrc
+%patch2 -p1 -b .copt
+%patch3 -p1 -b .socket
 
 
 %build
@@ -72,6 +76,10 @@
 
 
 %changelog
+* Tue May  6 2008 Denis Leroy <denis at 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 at poolshark.org> - 1.11-1
 - Update to upstream 1.11, many bug fixes
 




More information about the fedora-extras-commits mailing list