summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-10-08 17:00:21 +0000
committerTim Harder <radhermit@gentoo.org>2012-10-08 17:00:21 +0000
commitd986f579c81a601bc9e8478ab5b83c0bc4fb1ad9 (patch)
tree9074dfee710bf677aa084bd2b1afbc7613c39f24 /app-text
parentstable ppc, bug #437400 (diff)
downloadgentoo-2-d986f579c81a601bc9e8478ab5b83c0bc4fb1ad9.tar.gz
gentoo-2-d986f579c81a601bc9e8478ab5b83c0bc4fb1ad9.tar.bz2
gentoo-2-d986f579c81a601bc9e8478ab5b83c0bc4fb1ad9.zip
Fix as-needed linking issue (bug #431780 by Arttu Valo).
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dvisvgm/ChangeLog6
-rw-r--r--app-text/dvisvgm/dvisvgm-1.0.8.ebuild6
-rw-r--r--app-text/dvisvgm/files/dvisvgm-1.0.8-as-needed.patch11
3 files changed, 20 insertions, 3 deletions
diff --git a/app-text/dvisvgm/ChangeLog b/app-text/dvisvgm/ChangeLog
index 7ebb43d5ed81..7cf52f401ee4 100644
--- a/app-text/dvisvgm/ChangeLog
+++ b/app-text/dvisvgm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/dvisvgm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/ChangeLog,v 1.34 2012/05/09 17:21:03 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/ChangeLog,v 1.35 2012/10/08 17:00:21 radhermit Exp $
+
+ 08 Oct 2012; Tim Harder <radhermit@gentoo.org> dvisvgm-1.0.8.ebuild,
+ +files/dvisvgm-1.0.8-as-needed.patch:
+ Fix as-needed linking issue (bug #431780 by Arttu Valo).
09 May 2012; Alexis Ballier <aballier@gentoo.org> dvisvgm-1.0.11.ebuild:
keyword ~amd64-fbsd
diff --git a/app-text/dvisvgm/dvisvgm-1.0.8.ebuild b/app-text/dvisvgm/dvisvgm-1.0.8.ebuild
index d29cda6a3ba7..d07e8d4ad190 100644
--- a/app-text/dvisvgm/dvisvgm-1.0.8.ebuild
+++ b/app-text/dvisvgm/dvisvgm-1.0.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/app-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.12 2012/05/04 03:33:15 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.13 2012/10/08 17:00:21 radhermit Exp $
EAPI=3
-inherit eutils
+inherit eutils autotools
DESCRIPTION="Converts DVI files to SVG"
HOMEPAGE="http://dvisvgm.sourceforge.net/"
@@ -30,6 +30,8 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}"/${P}-darwin.patch
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
}
src_install() {
diff --git a/app-text/dvisvgm/files/dvisvgm-1.0.8-as-needed.patch b/app-text/dvisvgm/files/dvisvgm-1.0.8-as-needed.patch
new file mode 100644
index 000000000000..85e95b1b6a92
--- /dev/null
+++ b/app-text/dvisvgm/files/dvisvgm-1.0.8-as-needed.patch
@@ -0,0 +1,11 @@
+--- dvisvgm-1.0.8/configure.ac
++++ dvisvgm-1.0.8/configure.ac
+@@ -106,7 +106,7 @@
+ # Check for libraries.
+ PKG_CHECK_MODULES([FREETYPE], [freetype2])
+ CXXFLAGS="$CXXFLAGS ${FREETYPE_CFLAGS}"
+-LDFLAGS="$LDFLAGS ${FREETYPE_LIBS}"
++LIBS="$LIBS ${FREETYPE_LIBS}"
+
+ AC_CHECK_LIB(z, gzopen)
+