[95544] trunk/dports/gnome/gdl
rmstonecipher at macports.org
rmstonecipher at macports.org
Sun Jul 15 20:10:53 PDT 2012
Revision: 95544
https://trac.macports.org/changeset/95544
Author: rmstonecipher at macports.org
Date: 2012-07-15 20:10:52 -0700 (Sun, 15 Jul 2012)
Log Message:
-----------
gnome/gdl added patch due to replace G_CONST_RETURN deprecated in glib 2.30.x
Modified Paths:
--------------
trunk/dports/gnome/gdl/Portfile
Added Paths:
-----------
trunk/dports/gnome/gdl/files/patch_glib_2.30_G_CONST_RETURN.diff
Modified: trunk/dports/gnome/gdl/Portfile
===================================================================
--- trunk/dports/gnome/gdl/Portfile 2012-07-16 02:45:47 UTC (rev 95543)
+++ trunk/dports/gnome/gdl/Portfile 2012-07-16 03:10:52 UTC (rev 95544)
@@ -5,7 +5,7 @@
name gdl
version 2.30.1
-revision 1
+revision 2
license LGPL
set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome devel
@@ -33,7 +33,8 @@
depends_lib port:gtk2 \
port:libxml2
-patchfiles returns.patch
+patchfiles returns.patch \
+ patch_glib_2.30_G_CONST_RETURN.diff
livecheck.type regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
Added: trunk/dports/gnome/gdl/files/patch_glib_2.30_G_CONST_RETURN.diff
===================================================================
--- trunk/dports/gnome/gdl/files/patch_glib_2.30_G_CONST_RETURN.diff (rev 0)
+++ trunk/dports/gnome/gdl/files/patch_glib_2.30_G_CONST_RETURN.diff 2012-07-16 03:10:52 UTC (rev 95544)
@@ -0,0 +1,22 @@
+--- gdl/gdl-dock-object.c.orig 2012-07-15 21:51:41.000000000 -0500
++++ gdl/gdl-dock-object.c 2012-07-15 21:59:15.000000000 -0500
+@@ -892,7 +892,7 @@
+ g_relation_insert (dock_register, "placeholder", (gpointer) GDL_TYPE_DOCK_PLACEHOLDER);
+ }
+
+-G_CONST_RETURN gchar *
++const gchar *
+ gdl_dock_object_nick_from_type (GType type)
+ {
+ GTuples *tuples;
+--- gdl/gdl-dock-object.h.orig 2012-07-15 21:51:52.000000000 -0500
++++ gdl/gdl-dock-object.h 2012-07-15 21:59:31.000000000 -0500
+@@ -195,7 +195,7 @@
+ GType gdl_dock_param_get_type (void);
+
+ /* functions for setting/retrieving nick names for serializing GdlDockObject types */
+-G_CONST_RETURN gchar *gdl_dock_object_nick_from_type (GType type);
++const gchar *gdl_dock_object_nick_from_type (GType type);
+ GType gdl_dock_object_type_from_nick (const gchar *nick);
+ GType gdl_dock_object_set_type_for_nick (const gchar *nick,
+ GType type);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120715/4426240d/attachment.html>
More information about the macports-changes
mailing list