tags 639032 patch
user ubuntu-de...@lists.ubuntu.com
usertags 639032 ubuntu-patch oneiric
thanks

On Tue, Aug 23, 2011 at 09:55:59PM +0200, bertagaz wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > gcc -DHAVE_CONFIG_H -I. -I..  -Wall -I../include -I../libgtklp -pthread 
> > -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include 
> > -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 
> > -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 
> > -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ 
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DHAVE_LIBSSL 
> > -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_GTK2 -DMAX_PRT=150    -g -O2 -g 
> > -O2 -Wall -c file.c
> > In file included from file.c:36:0:
> > gtklp.h:99:1: error: unknown type name 'ppd_file_t'

Patch follows:

  * Include <cups/ppd.h> for ppd_file_t (closes: #639032, LP: #831283).

diff -u gtklp-1.2.7/debian/patches/series gtklp-1.2.7/debian/patches/series
--- gtklp-1.2.7/debian/patches/series
+++ gtklp-1.2.7/debian/patches/series
@@ -3,0 +4 @@
+bugs/639032.diff
only in patch2:
unchanged:
--- gtklp-1.2.7.orig/debian/patches/bugs/639032.diff
+++ gtklp-1.2.7/debian/patches/bugs/639032.diff
@@ -0,0 +1,19 @@
+Description: Include <cups/ppd.h> for ppd_file_t
+Author: Colin Watson <cjwat...@ubuntu.com>
+Bug-Debian: http://bugs.debian.org/639032
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/831283
+Forwarded: no
+Last-Update: 2011-09-14
+
+Index: b/gtklp/gtklp.h
+===================================================================
+--- a/gtklp/gtklp.h
++++ b/gtklp/gtklp.h
+@@ -27,6 +27,7 @@
+ #include <gtk/gtk.h>
+ #include <cups/cups.h>
+ #include <cups/http.h>
++#include <cups/ppd.h>
+ 
+ #include <defaults.h>
+ 

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to