diff options
Diffstat (limited to 'extra/gutenprint')
-rw-r--r-- | extra/gutenprint/PKGBUILD | 10 | ||||
-rw-r--r-- | extra/gutenprint/buildfix.patch | 22 |
2 files changed, 28 insertions, 4 deletions
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD index 602d12bb4..fa41c86b2 100644 --- a/extra/gutenprint/PKGBUILD +++ b/extra/gutenprint/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 123069 2011-05-07 23:28:40Z stephane $ +# $Id: PKGBUILD 143830 2011-11-29 16:30:26Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=gutenprint pkgver=5.2.7 -pkgrel=2 +pkgrel=3 pkgdesc="Top quality printer drivers for POSIX systems" arch=('i686' 'x86_64') license=('GPL') @@ -14,14 +14,16 @@ optdepends=('cups: to use cups printer spooler(recommended)' 'foomatic-db-engine: to use foomatic spooler' 'ghostscript: adds postscript support for ijsgutenprint' 'gimp: adds gutenprint plugin to gimp') -source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2) +source=(http://downloads.sourceforge.net/gimp-print/$pkgname-$pkgver.tar.bz2 buildfix.patch) url="http://gimp-print.sourceforge.net/" replaces=('gimp-print') options=('!libtool' '!emptydirs') -md5sums=('b19029972bf28f6efd693270daf8f5de') +md5sums=('b19029972bf28f6efd693270daf8f5de' + '2354cdecf1fbab32eca84266c8c72e7d') build() { cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/buildfix.patch ./configure --prefix=/usr --disable-samples --with-cups --with-gimp2 \ --disable-translated-cups-ppds --with-gimp2-as-gutenprint \ --disable-libgutenprintui --enable-libgutenprintui2 --disable-gtktest \ diff --git a/extra/gutenprint/buildfix.patch b/extra/gutenprint/buildfix.patch new file mode 100644 index 000000000..6b17a4029 --- /dev/null +++ b/extra/gutenprint/buildfix.patch @@ -0,0 +1,22 @@ +diff -up gutenprint-5.2.7/src/cups/commandtocanon.c.build gutenprint-5.2.7/src/cups/commandtocanon.c +--- gutenprint-5.2.7/src/cups/commandtocanon.c.build 2011-06-07 13:32:37.372042304 +0100 ++++ gutenprint-5.2.7/src/cups/commandtocanon.c 2011-06-07 13:32:41.270970750 +0100 +@@ -13,6 +13,7 @@ + + #include <cups/cups.h> + #include <ctype.h> ++#include <stdio.h> + #include <stdlib.h> + + +diff -up gutenprint-5.2.7/src/cups/commandtoepson.c.build gutenprint-5.2.7/src/cups/commandtoepson.c +--- gutenprint-5.2.7/src/cups/commandtoepson.c.build 2007-12-24 17:19:20.000000000 +0000 ++++ gutenprint-5.2.7/src/cups/commandtoepson.c 2011-06-07 13:32:35.656073794 +0100 +@@ -30,6 +30,7 @@ + + #include <cups/cups.h> + #include <ctype.h> ++#include <stdio.h> + #include <stdlib.h> + #include <string.h> + |