[91738] trunk/dports/gnome/libgnomecups
ryandesign at macports.org
ryandesign at macports.org
Mon Apr 9 03:56:20 PDT 2012
Revision: 91738
https://trac.macports.org/changeset/91738
Author: ryandesign at macports.org
Date: 2012-04-09 03:56:20 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
libgnomecups: fix build with glib2 2.32
Modified Paths:
--------------
trunk/dports/gnome/libgnomecups/Portfile
Added Paths:
-----------
trunk/dports/gnome/libgnomecups/files/patch-glib-2.32.diff
Modified: trunk/dports/gnome/libgnomecups/Portfile
===================================================================
--- trunk/dports/gnome/libgnomecups/Portfile 2012-04-09 10:43:35 UTC (rev 91737)
+++ trunk/dports/gnome/libgnomecups/Portfile 2012-04-09 10:56:20 UTC (rev 91738)
@@ -5,7 +5,7 @@
name libgnomecups
version 0.2.3
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers nomaintainer
categories gnome
@@ -33,6 +33,8 @@
port:gettext \
port:libiconv
+patchfiles patch-glib-2.32.diff
+
configure.args --mandir=${prefix}/share/man
platform darwin 8 {
Added: trunk/dports/gnome/libgnomecups/files/patch-glib-2.32.diff
===================================================================
--- trunk/dports/gnome/libgnomecups/files/patch-glib-2.32.diff (rev 0)
+++ trunk/dports/gnome/libgnomecups/files/patch-glib-2.32.diff 2012-04-09 10:56:20 UTC (rev 91738)
@@ -0,0 +1,21 @@
+--- libgnomecups/gnome-cups-init.h.orig 2007-01-01 18:18:51.000000000 -0600
++++ libgnomecups/gnome-cups-init.h 2012-04-09 05:52:52.000000000 -0500
+@@ -1,8 +1,7 @@
+ #ifndef GNOME_CUPS_INIT
+ #define GNOME_CUPS_INIT
+
+-#include <glib/gtypes.h>
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+--- libgnomecups/gnome-cups-i18n.c.orig 2007-01-01 18:18:51.000000000 -0600
++++ libgnomecups/gnome-cups-i18n.c 2012-04-09 05:53:06.000000000 -0500
+@@ -1,5 +1,5 @@
+ #include <config.h>
+-#include <glib/gmacros.h>
++#include <glib.h>
+ #include "gnome-cups-i18n.h"
+
+ #ifdef ENABLE_NLS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120409/689bdf3e/attachment.html>
More information about the macports-changes
mailing list