summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 20:48:09 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 20:48:09 +0000
commit12e5dc2dba0d3f0b72f08c0adef2fa2f9b656fe1 (patch)
treefdb136dbab08aedc177e130d206400711886353b /media-libs/gd
parentAdding cvs ebuild (diff)
downloadgentoo-2-12e5dc2dba0d3f0b72f08c0adef2fa2f9b656fe1.tar.gz
gentoo-2-12e5dc2dba0d3f0b72f08c0adef2fa2f9b656fe1.tar.bz2
gentoo-2-12e5dc2dba0d3f0b72f08c0adef2fa2f9b656fe1.zip
Add patch to link against libiconv when needed.
(Portage version: 2.1_pre9-r3)
Diffstat (limited to 'media-libs/gd')
-rw-r--r--media-libs/gd/ChangeLog6
-rw-r--r--media-libs/gd/files/digest-gd-2.0.332
-rw-r--r--media-libs/gd/files/gd-2.0.33-iconv.patch12
-rw-r--r--media-libs/gd/gd-2.0.33.ebuild8
4 files changed, 25 insertions, 3 deletions
diff --git a/media-libs/gd/ChangeLog b/media-libs/gd/ChangeLog
index f584a083645a..4240eaeca392 100644
--- a/media-libs/gd/ChangeLog
+++ b/media-libs/gd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.30 2006/04/23 00:21:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/ChangeLog,v 1.31 2006/04/23 20:48:09 flameeyes Exp $
+
+ 23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/gd-2.0.33-iconv.patch, gd-2.0.33.ebuild:
+ Add patch to link against libiconv when needed.
23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> gd-2.0.33.ebuild:
Add ~x86-fbsd keyword.
diff --git a/media-libs/gd/files/digest-gd-2.0.33 b/media-libs/gd/files/digest-gd-2.0.33
index 0fae85af693b..e16d48ca2999 100644
--- a/media-libs/gd/files/digest-gd-2.0.33
+++ b/media-libs/gd/files/digest-gd-2.0.33
@@ -1 +1,3 @@
MD5 be0a6d326cd8567e736fbc75df0a5c45 gd-2.0.33.tar.gz 587617
+RMD160 6c573638387bb36044f3d4d480b10229445b9a6b gd-2.0.33.tar.gz 587617
+SHA256 2ba10c830e24781ec2e0594c6e49353e512e8bda782bc9a1851e70a5e8ced93e gd-2.0.33.tar.gz 587617
diff --git a/media-libs/gd/files/gd-2.0.33-iconv.patch b/media-libs/gd/files/gd-2.0.33-iconv.patch
new file mode 100644
index 000000000000..bd29c29b481b
--- /dev/null
+++ b/media-libs/gd/files/gd-2.0.33-iconv.patch
@@ -0,0 +1,12 @@
+Index: gd-2.0.33/Makefile.am
+===================================================================
+--- gd-2.0.33.orig/Makefile.am
++++ gd-2.0.33/Makefile.am
+@@ -20,6 +20,7 @@ lib_LTLIBRARIES = libgd.la
+ libgd_la_SOURCES = gd.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h
+
+ libgd_la_LDFLAGS = -version-info 2:0:0
++libgd_la_LIBADD = $(LTLIBICONV)
+
+ LDADD = ./libgd.la
+
diff --git a/media-libs/gd/gd-2.0.33.ebuild b/media-libs/gd/gd-2.0.33.ebuild
index da2795026d78..e553bf7cea40 100644
--- a/media-libs/gd/gd-2.0.33.ebuild
+++ b/media-libs/gd/gd-2.0.33.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.33.ebuild,v 1.11 2006/04/23 00:21:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.33.ebuild,v 1.12 2006/04/23 20:48:09 flameeyes Exp $
-inherit eutils libtool
+inherit eutils libtool autotools
DESCRIPTION="A graphics library for fast image creation"
HOMEPAGE="http://www.boutell.com/gd/"
@@ -23,6 +23,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-overflow-checks.patch
+ epatch "${FILESDIR}/${P}-iconv.patch"
+
+ eautomake
+
elibtoolize #117078
}