- Patch to fix opening issue from browser (#431769)

- Patch to fix hardcoded optimize compile flags
epel9
Denis Leroy 17 years ago
parent c1c64a14ba
commit 412483c6d0

@ -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; }

@ -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;
}

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

Loading…
Cancel
Save