[79766] trunk/dports/gnome/libgnomeprint

jeremyhu at macports.org jeremyhu at macports.org
Sat Jun 25 01:01:52 PDT 2011


Revision: 79766
          http://trac.macports.org/changeset/79766
Author:   jeremyhu at macports.org
Date:     2011-06-25 01:01:52 -0700 (Sat, 25 Jun 2011)
Log Message:
-----------
libgnomeprint: darwin11 build fix

Modified Paths:
--------------
    trunk/dports/gnome/libgnomeprint/Portfile

Added Paths:
-----------
    trunk/dports/gnome/libgnomeprint/files/
    trunk/dports/gnome/libgnomeprint/files/missing-stdio.patch

Modified: trunk/dports/gnome/libgnomeprint/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeprint/Portfile	2011-06-25 06:31:16 UTC (rev 79765)
+++ trunk/dports/gnome/libgnomeprint/Portfile	2011-06-25 08:01:52 UTC (rev 79766)
@@ -33,6 +33,9 @@
                 port:libart_lgpl \
                 port:libxml2
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=653388
+patchfiles      missing-stdio.patch
+
 configure.args  --disable-gtk-doc
 
 livecheck.type  regex

Added: trunk/dports/gnome/libgnomeprint/files/missing-stdio.patch
===================================================================
--- trunk/dports/gnome/libgnomeprint/files/missing-stdio.patch	                        (rev 0)
+++ trunk/dports/gnome/libgnomeprint/files/missing-stdio.patch	2011-06-25 08:01:52 UTC (rev 79766)
@@ -0,0 +1,11 @@
+diff -Naurp libgnomeprint-2.18.8.orig/libgnomeprint/modules/cups/gnome-print-cups-transport.c libgnomeprint-2.18.8/libgnomeprint/modules/cups/gnome-print-cups-transport.c
+--- libgnomeprint/modules/cups/gnome-print-cups-transport.c	2010-02-09 04:32:51.000000000 -0800
++++ libgnomeprint/modules/cups/gnome-print-cups-transport.c	2011-06-25 00:22:53.000000000 -0700
+@@ -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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110625/6db27303/attachment.html>


More information about the macports-changes mailing list