[arch-commits] Commit in gutenprint/trunk (PKGBUILD buildfix.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Nov 29 16:29:42 UTC 2011


    Date: Tuesday, November 29, 2011 @ 11:29:42
  Author: andyrtr
Revision: 143829

upgpkg: gutenprint 5.2.7-3

fix build, FS#27310

Added:
  gutenprint/trunk/buildfix.patch
Modified:
  gutenprint/trunk/PKGBUILD

----------------+
 PKGBUILD       |    8 +++++---
 buildfix.patch |   22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-29 13:33:59 UTC (rev 143828)
+++ PKGBUILD	2011-11-29 16:29:42 UTC (rev 143829)
@@ -3,7 +3,7 @@
 
 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 @@
             '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 \

Added: buildfix.patch
===================================================================
--- buildfix.patch	                        (rev 0)
+++ buildfix.patch	2011-11-29 16:29:42 UTC (rev 143829)
@@ -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>
+ 




More information about the arch-commits mailing list