[134462] trunk/dports/devel/glib2-devel
ryandesign at macports.org
ryandesign at macports.org
Wed Mar 25 22:48:14 PDT 2015
Revision: 134462
https://trac.macports.org/changeset/134462
Author: ryandesign at macports.org
Date: 2015-03-25 22:48:14 -0700 (Wed, 25 Mar 2015)
Log Message:
-----------
glib2-devel: use upstream patch to fix build with older compilers
Modified Paths:
--------------
trunk/dports/devel/glib2-devel/Portfile
Added Paths:
-----------
trunk/dports/devel/glib2-devel/files/patch-gio-giotypes.h.diff
Modified: trunk/dports/devel/glib2-devel/Portfile
===================================================================
--- trunk/dports/devel/glib2-devel/Portfile 2015-03-26 02:49:15 UTC (rev 134461)
+++ trunk/dports/devel/glib2-devel/Portfile 2015-03-26 05:48:14 UTC (rev 134462)
@@ -63,7 +63,7 @@
compiler.blacklist-append gcc-3.3 *gcc-4.0
# https://bugzilla.gnome.org/show_bug.cgi?id=744473
-compiler.blacklist-append *gcc-4.2
+patchfiles-append patch-gio-giotypes.h.diff
# -lresolv is needed at least on Tiger PPC.
configure.ldflags-append -lresolv \
Added: trunk/dports/devel/glib2-devel/files/patch-gio-giotypes.h.diff
===================================================================
--- trunk/dports/devel/glib2-devel/files/patch-gio-giotypes.h.diff (rev 0)
+++ trunk/dports/devel/glib2-devel/files/patch-gio-giotypes.h.diff 2015-03-26 05:48:14 UTC (rev 134462)
@@ -0,0 +1,14 @@
+Fix build with older compilers.
+https://bugzilla.gnome.org/show_bug.cgi?id=744473
+https://mail.gnome.org/archives/commits-list/2015-March/msg10288.html
+--- gio/giotypes.h.orig
++++ gio/giotypes.h
+@@ -61,8 +61,6 @@ typedef struct _GPermission GPermission;
+
+ typedef struct _GMenuModel GMenuModel;
+ typedef struct _GNotification GNotification;
+-typedef struct _GListModel GListModel;
+-typedef struct _GListStore GListStore;
+
+ /**
+ * GDrive:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150325/f092d3b9/attachment.html>
More information about the macports-changes
mailing list