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 - 1.11-2 +- Patch to fix opening issue from browser (#431769) +- Patch to fix hardcoded optimize compile flags + * Fri May 2 2008 Denis Leroy - 1.11-1 - Update to upstream 1.11, many bug fixes