[packages/mldonkey] - Patch for configure against current libgd version.
lmasko
lmasko at pld-linux.org
Sat Aug 24 15:31:24 CEST 2013
commit 628b56e8d9d0eb11d19ce66920f89ebb6d8783b2
Author: Lukasz Masko <lmasko at pld-linux.org>
Date: Sat Aug 24 15:30:29 2013 +0200
- Patch for configure against current libgd version.
mldonkey-gd.patch | 11 +++++++++++
mldonkey.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/mldonkey.spec b/mldonkey.spec
index 489b1bd..855e02c 100644
--- a/mldonkey.spec
+++ b/mldonkey.spec
@@ -19,7 +19,7 @@ Summary: eDonkey 2000 p2p network client
Summary(pl.UTF-8): Klient sieci p2p eDonkey 2000
Name: mldonkey
Version: 3.1.3
-Release: 1
+Release: 2
License: GPL
Group: Applications/Networking
Source0: http://download.sourceforge.net/mldonkey/%{name}-%{version}.tar.bz2
@@ -31,6 +31,7 @@ Source4: %{name}.png
Source5: %{name}-gui.desktop
Patch0: %{name}-configwin.patch
Patch1: %{name}-newgtk.patch
+Patch2: %{name}-gd.patch
URL: http://mldonkey.sourceforge.net/Main_Page
BuildRequires: autoconf
BuildRequires: automake
@@ -173,6 +174,7 @@ make_torent, get_range, copysource, subconv, svg_converter.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p0
%build
cp -f /usr/share/automake/config.sub config
diff --git a/mldonkey-gd.patch b/mldonkey-gd.patch
new file mode 100644
index 0000000..55ec693
--- /dev/null
+++ b/mldonkey-gd.patch
@@ -0,0 +1,11 @@
+--- config/configure~ 2013-08-24 14:46:23.000000000 +0200
++++ config/configure 2013-08-24 14:51:30.000000000 +0200
+@@ -6814,7 +6814,7 @@
+ GDMAJORVERSION=`$GDLIBCONFIG --majorversion`
+ GDMINORVERSION=`$GDLIBCONFIG --minorversion`
+ GDREVISION=`$GDLIBCONFIG --revision`
+- if [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION = 0 ] && [ $GDREVISION -gt 14 ]; then
++ if [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION -gt 0 -o $GDREVISION -gt 14 ]; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDVERSION" >&5
+ $as_echo "$GDVERSION" >&6; }
+ LIBGD=yes
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mldonkey.git/commitdiff/628b56e8d9d0eb11d19ce66920f89ebb6d8783b2
More information about the pld-cvs-commit
mailing list