I just realized this bug didn't have a complete patch.  Here's a
complete patch, including the workaround of adding a prototype.  

Because of this, I'll wait an additional week before NMU'ing to give
additional time for maintainer review.

diff -urN gnome-photo-printer-0.6.5.orig/debian/changelog 
gnome-photo-printer-0.6.5/debian/changelog
--- gnome-photo-printer-0.6.5.orig/debian/changelog     2005-10-11 
20:18:56.000000000 -0600
+++ gnome-photo-printer-0.6.5/debian/changelog  2005-10-11 20:18:28.000000000 
-0600
@@ -1,3 +1,11 @@
+gnome-photo-printer (0.6.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing include directives and a prototype to prevent implicitly
+    converted pointers on some 64-bit systems.  Closes: #325497
+
+ -- dann frazier <[EMAIL PROTECTED]>  Tue, 11 Oct 2005 20:17:59 -0600
+
 gnome-photo-printer (0.6.5-1) unstable; urgency=low
 
   * New upstream release
diff -urN gnome-photo-printer-0.6.5.orig/src/gpp_callbacks.c 
gnome-photo-printer-0.6.5/src/gpp_callbacks.c
--- gnome-photo-printer-0.6.5.orig/src/gpp_callbacks.c  2004-11-14 
06:01:27.000000000 -0700
+++ gnome-photo-printer-0.6.5/src/gpp_callbacks.c       2005-10-11 
20:09:50.000000000 -0600
@@ -26,6 +26,7 @@
 #include <libgnomeprint/gnome-print.h>
 #include <libgnomeprint/gnome-print-job.h>
 #include <libgnomeprintui/gnome-print-dialog.h>
+#include <libgnomeprintui/gnome-print-job-preview.h>
 #include "gpp_print.h"
 #include "gpp_functions.h"
 #include "gpp_widget.h"
diff -urN gnome-photo-printer-0.6.5.orig/src/gpp_widget.c 
gnome-photo-printer-0.6.5/src/gpp_widget.c
--- gnome-photo-printer-0.6.5.orig/src/gpp_widget.c     2005-01-02 
13:21:09.000000000 -0700
+++ gnome-photo-printer-0.6.5/src/gpp_widget.c  2005-10-11 20:17:46.000000000 
-0600
@@ -26,12 +26,17 @@
 #include <libgnomeprint/gnome-print.h>
 #include <libgnomeprint/gnome-print-job.h>
 #include <libgnomeprintui/gnome-print-dialog.h>
+#include <libgnomeprintui/gnome-print-paper-selector.h>
 #include "gpp_print.h"
 #include "gpp_functions.h"
 #include "gpp_widget.h"
 #include "gpp_callbacks.h"
 #include "gpp.h"
 
+/* This header should probably be provided by libgnomeprintui-dev
+ * See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325497 for details */
+GtkWidget *        gnome_printer_selector_new (GnomePrintConfig *config);
+
 /* Load the Glade File and build the Widget */
 GtkWidget *
 gpp_build_widget (gchar * file)

-- 
dann frazier <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to