libgnomeprint2.2 clang fix

Jack Howarth <[email protected]> Mon, 11 Jul 2011 21:51:20 -0400
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
  The current libgnomeprint2.2 packaging fails to build under Lion with
clang unless the following patchlet is added to the libgnomeprint2.2.patch...

--- libgnomeprint-2.18.6/libgnomeprint/modules/cups/gnome-print-cups-transport.c.orig   2011-07-09 14:57:38.000000000 -0400
+++ libgnomeprint-2.18.6/libgnomeprint/modules/cups/gnome-print-cups-transport.c        2011-07-09 14:58:14.000000000 -0400
@@ -36,6 +36,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <locale.h>
+#include <stdio.h>
 
 #include <cups/cups.h>
 #include <libgnomeprint/gnome-print.h>

so that the FILE type is available when it is used in a declaration. FYI.
           Jack

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
fink-gnome-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.gnome
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-gnome-core