summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-15 21:15:03 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-15 21:15:03 +0000
commiteb0962bd7d30eb2e4c75cc6bc8571b427cfc1041 (patch)
tree7045b6298b00732fd3ec7750ca0eb79180a4e7d3 /dev-tex
parentReimplement test function so that it works with Ruby 1.9.2 (and does not requ... (diff)
downloadgentoo-2-eb0962bd7d30eb2e4c75cc6bc8571b427cfc1041.tar.gz
gentoo-2-eb0962bd7d30eb2e4c75cc6bc8571b427cfc1041.tar.bz2
gentoo-2-eb0962bd7d30eb2e4c75cc6bc8571b427cfc1041.zip
Fix build with libpng 1.5, by Lars Wendler (Polynomial-C) <polynomial-c@gentoo.org>, imported from netbsd ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/print/luatex/patches/patch-ad , bug #355091
(Portage version: 2.2.0_alpha23/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/luatex/ChangeLog10
-rw-r--r--dev-tex/luatex/luatex-0.65.0.ebuild12
2 files changed, 15 insertions, 7 deletions
diff --git a/dev-tex/luatex/ChangeLog b/dev-tex/luatex/ChangeLog
index 21606bf3a6e3..4f77b46424f7 100644
--- a/dev-tex/luatex/ChangeLog
+++ b/dev-tex/luatex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/luatex
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.81 2010/12/16 12:45:42 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/ChangeLog,v 1.82 2011/02/15 21:15:03 aballier Exp $
+
+ 15 Feb 2011; Alexis Ballier <aballier@gentoo.org> luatex-0.65.0.ebuild:
+ Fix build with libpng 1.5, by Lars Wendler (Polynomial-C)
+ <polynomial-c@gentoo.org>, imported from netbsd
+ ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/print/luatex/patches/patch-ad
+ , bug #355091
16 Dec 2010; Alexis Ballier <aballier@gentoo.org> -luatex-0.64.0.ebuild:
remove old
diff --git a/dev-tex/luatex/luatex-0.65.0.ebuild b/dev-tex/luatex/luatex-0.65.0.ebuild
index 9b590bc1bec3..8940d0e125f6 100644
--- a/dev-tex/luatex/luatex-0.65.0.ebuild
+++ b/dev-tex/luatex/luatex-0.65.0.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.65.0.ebuild,v 1.1 2010/12/16 12:43:39 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.65.0.ebuild,v 1.2 2011/02/15 21:15:03 aballier Exp $
EAPI="2"
-inherit libtool
+inherit libtool eutils
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language."
HOMEPAGE="http://www.luatex.org/"
SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/386/1704/${PN}-beta-${PV}-source.tar.bz2
- http://foundry.supelec.fr/gf/download/frsrelease/386/1705/${PN}-beta-${PV}-doc.tar.bz2"
+ http://foundry.supelec.fr/gf/download/frsrelease/386/1705/${PN}-beta-${PV}-doc.tar.bz2
+ mirror://gentoo/${P}-libpng15.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -17,7 +18,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~x86"
IUSE="doc"
RDEPEND="dev-libs/zziplib
- media-libs/libpng
+ >=media-libs/libpng-1.4
>=app-text/poppler-0.12.3-r3[xpdf-headers]
sys-libs/zlib
dev-libs/kpathsea"
@@ -30,6 +31,7 @@ PRELIBS="libs/obsdcompat"
#kpathsea_extraconf="--disable-shared --disable-largefile"
src_prepare() {
+ epatch "${WORKDIR}/${P}-libpng15.patch"
elibtoolize
}