diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-03-15 20:31:51 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-03-15 20:31:51 +0000 |
commit | 0b71278261a470a240ce8f6b673d36d3559f7c91 (patch) | |
tree | fe31d273f035b8ab7256c3c9690508e9c322685c /media-gfx/imageworsener | |
parent | Drop gcc-config dep now that the toolchain.eclass forces it. (diff) | |
download | gentoo-2-0b71278261a470a240ce8f6b673d36d3559f7c91.tar.gz gentoo-2-0b71278261a470a240ce8f6b673d36d3559f7c91.tar.bz2 gentoo-2-0b71278261a470a240ce8f6b673d36d3559f7c91.zip |
media-gfx/imageworsener: Fix underlinking (bug #408303)
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/imageworsener')
-rw-r--r-- | media-gfx/imageworsener/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/imageworsener/files/imageworsener-0.9.8-libm.patch | 10 | ||||
-rw-r--r-- | media-gfx/imageworsener/imageworsener-0.9.8.ebuild | 9 |
3 files changed, 22 insertions, 3 deletions
diff --git a/media-gfx/imageworsener/ChangeLog b/media-gfx/imageworsener/ChangeLog index f41a0dedb44b..bf8dea5e8674 100644 --- a/media-gfx/imageworsener/ChangeLog +++ b/media-gfx/imageworsener/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/imageworsener # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.15 2012/03/04 12:20:07 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.16 2012/03/15 20:31:51 sping Exp $ + + 15 Mar 2012; Sebastian Pipping <sping@gentoo.org> imageworsener-0.9.8.ebuild, + +files/imageworsener-0.9.8-libm.patch: + Fix underlinking reported by Piotr Szymaniak (bug #408303) 04 Mar 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml: Drop maintainer due retirement, bug #206112 diff --git a/media-gfx/imageworsener/files/imageworsener-0.9.8-libm.patch b/media-gfx/imageworsener/files/imageworsener-0.9.8-libm.patch new file mode 100644 index 000000000000..2cc13c9884ab --- /dev/null +++ b/media-gfx/imageworsener/files/imageworsener-0.9.8-libm.patch @@ -0,0 +1,10 @@ +--- Makefile.am 2012-03-15 21:25:45.539774759 +0100 ++++ Makefile.am 2012-03-15 21:25:32.090942892 +0100 +@@ -1,6 +1,6 @@ + lib_LTLIBRARIES=libimageworsener.la + libimageworsener_la_SOURCES=src/imagew-api.c src/imagew-gif.c src/imagew-miff.c src/imagew-resize.c src/imagew-webp.c src/imagew-bmp.c src/imagew-jpeg.c src/imagew-opt.c src/imagew-tiff.c src/imagew-zlib.c src/imagew-main.c src/imagew-png.c src/imagew-util.c +-libimageworsener_la_LDFLAGS=-release 0.9.8 ++libimageworsener_la_LDFLAGS=-lm -release 0.9.8 + bin_PROGRAMS=imagew + imagew_SOURCES=src/imagew-cmd.c + imagew_LDADD=libimageworsener.la diff --git a/media-gfx/imageworsener/imageworsener-0.9.8.ebuild b/media-gfx/imageworsener/imageworsener-0.9.8.ebuild index 8529e0506e3a..9b5969209c56 100644 --- a/media-gfx/imageworsener/imageworsener-0.9.8.ebuild +++ b/media-gfx/imageworsener/imageworsener-0.9.8.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-0.9.8.ebuild,v 1.1 2012/02/26 17:27:18 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-0.9.8.ebuild,v 1.2 2012/03/15 20:31:51 sping Exp $ EAPI="4" -inherit eutils +inherit eutils autotools MY_P="${PN}-src-${PV}" MY_PN="imagew" @@ -26,6 +26,11 @@ RDEPEND="${DEPEND}" REQUIRED_USE="test? ( jpeg png webp zlib )" +src_prepare() { + epatch "${FILESDIR}"/${P}-libm.patch + eautoreconf +} + src_configure() { local switch= use test && switch=test |