summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-print/gutenprint/ChangeLog7
-rw-r--r--net-print/gutenprint/files/gutenprint-5.2.7-stdio.patch20
-rw-r--r--net-print/gutenprint/gutenprint-5.2.7-r1.ebuild8
3 files changed, 31 insertions, 4 deletions
diff --git a/net-print/gutenprint/ChangeLog b/net-print/gutenprint/ChangeLog
index bd0fa4f56ce4..c562dc144ca5 100644
--- a/net-print/gutenprint/ChangeLog
+++ b/net-print/gutenprint/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/gutenprint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.26 2011/09/15 21:30:05 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.27 2011/10/27 05:57:18 radhermit Exp $
+
+ 27 Oct 2011; Tim Harder <radhermit@gentoo.org> gutenprint-5.2.7-r1.ebuild,
+ +files/gutenprint-5.2.7-stdio.patch:
+ Fix build issue due to missing header (bug #385037, patch by Rafał
+ Mużyło).
*gutenprint-5.2.7-r1 (15 Sep 2011)
diff --git a/net-print/gutenprint/files/gutenprint-5.2.7-stdio.patch b/net-print/gutenprint/files/gutenprint-5.2.7-stdio.patch
new file mode 100644
index 000000000000..e62497b30564
--- /dev/null
+++ b/net-print/gutenprint/files/gutenprint-5.2.7-stdio.patch
@@ -0,0 +1,20 @@
+--- gutenprint-5.2.7.orig/src/cups/commandtocanon.c
++++ gutenprint-5.2.7/src/cups/commandtocanon.c
+@@ -14,6 +14,7 @@
+ #include <cups/cups.h>
+ #include <ctype.h>
+ #include <stdlib.h>
++#include <stdio.h>
+
+
+ /*
+--- gutenprint-5.2.7.orig/src/cups/commandtoepson.c
++++ gutenprint-5.2.7/src/cups/commandtoepson.c
+@@ -32,6 +32,7 @@
+ #include <ctype.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <stdio.h>
+
+ /*
+ * Macros...
diff --git a/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild b/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild
index bc1c31756b8f..6b7f3fdc6e79 100644
--- a/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild
+++ b/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild,v 1.1 2011/09/15 21:30:05 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7-r1.ebuild,v 1.2 2011/10/27 05:57:18 radhermit Exp $
EAPI=4
@@ -32,9 +32,11 @@ RESTRICT="test"
DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
src_prepare() {
- epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch" \
- "${FILESDIR}"/${P}-genppd.patch
+ epatch "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch
+ epatch "${FILESDIR}"/${P}-genppd.patch # bug 382927
+ epatch "${FILESDIR}"/${P}-stdio.patch # bug 385037
sed -i -e "s:m4local:m4extra:" Makefile.am || die
+
eautoreconf
}