From d358f6790d37e268d9d3b784ea14adc96faa1f69 Mon Sep 17 00:00:00 2001 From: Roland Wolters Date: Oct 13 2006 21:36:44 +0000 Subject: patch for ppc build --- diff --git a/ktorrent-2.0.3-znow.patch b/ktorrent-2.0.3-znow.patch new file mode 100644 index 0000000..40a2020 --- /dev/null +++ b/ktorrent-2.0.3-znow.patch @@ -0,0 +1,11 @@ +--- configure.origin 2006-10-13 23:22:00.394480000 +0200 ++++ configure 2006-10-13 23:25:33.143776000 +0200 +@@ -31299,7 +31299,7 @@ + + #MIN_CONFIG(3.3) + CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS $USE_EXCEPTIONS $USE_RTTI" +-LDFLAGS="$LDFLAGS -Wl -z now" ++LDFLAGS="$LDFLAGS -Wl,-z,now" + + + # Check whether --enable-largefile or --disable-largefile was given. diff --git a/ktorrent.spec b/ktorrent.spec index 0021af7..3e49bee 100644 --- a/ktorrent.spec +++ b/ktorrent.spec @@ -2,12 +2,13 @@ Name: ktorrent Version: 2.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A BitTorrent program for KDE Group: Applications/Internet License: GPL URL: http://ktorrent.pwsp.net/ Source0: http://ktorrent.org/downloads/2.0.3/ktorrent-2.0.3.tar.gz +Patch0: ktorrent-2.0.3-znow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt-devel kdelibs-devel desktop-file-utils gettext gmp-devel @@ -22,6 +23,7 @@ searching using various search engines, UDP Trackers and UPnP support. %prep %setup -q +%patch -p1 -b .znow %build %configure --disable-rpath @@ -125,8 +127,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/servicetypes/ktorrentplugin.desktop %changelog -* Fri Oct 13 2006 Roland Wolters 2.0.3-1 +* Fri Oct 13 2006 Roland Wolters 2.0.3-2 - Update to upstream version 2.0.3 +- added znow patch for ppc * Thu Sep 07 2006 Roland Wolters 2.0.2-3 - mass rebuild