From 99015cdc5145fd8c7e14ea76bcbd1d0ecb210ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 2 Nov 2012 17:08:30 -0200 Subject: gnu-ghostscript-9.05.0-1: fixing issues --- libre/gnu-ghostscript/PKGBUILD | 11 ++++++++--- libre/gnu-ghostscript/libtool.patch | 14 ++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 libre/gnu-ghostscript/libtool.patch (limited to 'libre') diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD index 4fb123c2c..9ff2da255 100755 --- a/libre/gnu-ghostscript/PKGBUILD +++ b/libre/gnu-ghostscript/PKGBUILD @@ -8,7 +8,7 @@ pkgrel=1 pkgdesc="An interpreter for the PostScript language created by the FSF" arch=('i686' 'x86_64') license=('GPL3') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2') makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') @@ -16,13 +16,18 @@ conflicts=${_pkgname} replaces=${_pkgname} provides=${_pkgname} url="https://www.gnu.org/software/${_pkgname}/" -source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz) +source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz + libtool.patch) options=('!libtool' '!makeflags') -md5sums=('e80423be9abb32fc99cc897ed379a7df') +md5sums=('e80423be9abb32fc99cc897ed379a7df' + '5bd5d4966007b460deed866a30a0b3c8') build() { cd ${srcdir}/${pkgname}-${pkgver} + # fix libtool version + patch -Np1 -i ${srcdir}/libtool.patch + # force it to use system-libs rm -rf jpeg libpng zlib jasper expat tiff lcms freetype diff --git a/libre/gnu-ghostscript/libtool.patch b/libre/gnu-ghostscript/libtool.patch new file mode 100644 index 000000000..4271ce69b --- /dev/null +++ b/libre/gnu-ghostscript/libtool.patch @@ -0,0 +1,14 @@ +--- gnu-ghostscript-9.04.1/ltmain.sh 2011-12-31 08:26:26.000000000 -0200 ++++ gnu-ghostscript-9.04.1/ltmain.sh 2012-04-10 05:08:19.253341477 -0300 +@@ -79,9 +79,9 @@ + + PROGRAM=libtool + PACKAGE=libtool +-VERSION=2.4 ++VERSION=2.4.2 + TIMESTAMP="" +-package_revision=1.3293 ++package_revision=1.3337 + + # Be Bourne compatible + if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -- cgit v1.2.3-2-g168b