« Return to Thread: libgnomeprint2.2 clang fix

libgnomeprint2.2 clang fix

by Jack Howarth-3 :: Rate this Message:

| View in Thread

  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
fink-gnome-core@...
List archive:
http://news.gmane.org/gmane.os.apple.fink.gnome
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-gnome-core

 « Return to Thread: libgnomeprint2.2 clang fix