[76516] trunk/dports/devel/gvfs

ryandesign at macports.org ryandesign at macports.org
Sat Feb 26 15:32:14 PST 2011


Revision: 76516
          http://trac.macports.org/changeset/76516
Author:   ryandesign at macports.org
Date:     2011-02-26 15:32:13 -0800 (Sat, 26 Feb 2011)
Log Message:
-----------
gvfs: fix build with glib 2.28.x; see #28553

Modified Paths:
--------------
    trunk/dports/devel/gvfs/Portfile

Added Paths:
-----------
    trunk/dports/devel/gvfs/files/
    trunk/dports/devel/gvfs/files/patch-gconf-gapplookupgconf.h.diff

Modified: trunk/dports/devel/gvfs/Portfile
===================================================================
--- trunk/dports/devel/gvfs/Portfile	2011-02-26 23:24:47 UTC (rev 76515)
+++ trunk/dports/devel/gvfs/Portfile	2011-02-26 23:32:13 UTC (rev 76516)
@@ -56,6 +56,8 @@
     lib/libsoup-2.4.dylib \
     lib/libxml2.dylib
 
+patchfiles      patch-gconf-gapplookupgconf.h.diff
+
 configure.args  --disable-avahi \
                 --disable-fuse \
                 --disable-hal \

Added: trunk/dports/devel/gvfs/files/patch-gconf-gapplookupgconf.h.diff
===================================================================
--- trunk/dports/devel/gvfs/files/patch-gconf-gapplookupgconf.h.diff	                        (rev 0)
+++ trunk/dports/devel/gvfs/files/patch-gconf-gapplookupgconf.h.diff	2011-02-26 23:32:13 UTC (rev 76516)
@@ -0,0 +1,18 @@
+--- gconf/gapplookupgconf.h.bak	2011-01-06 18:18:29.009000135 +0800
++++ gconf/gapplookupgconf.h	2011-01-06 18:21:15.074000177 +0800
+@@ -25,8 +25,14 @@
+ 
+ #include <glib-object.h>
+ #include <gio/gio.h>
+-#include <gio/gdesktopappinfo.h>
+ 
++#ifdef G_DISABLE_DEPRECATED
++#undef G_DISABLE_DEPRECATED
++#include <gio/gdesktopappinfo.h>
++#define G_DISABLE_DEPRECATED
++#else
++#include <gio/gdesktopappinfo.h>
++#endif
+ 
+ G_BEGIN_DECLS
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110226/9f9ea202/attachment.html>


More information about the macports-changes mailing list