mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
are the latest stable releases. * Update vala to the newest stable release 0.18.1, also update a few ports in the gtk/gnome stack. * The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles. * Remove pkg-config run depends from glib20 and freetype2. This doesn't eliminate pkg-config run dependency completely, a second phase is needed and is planned. * Support for .:run. and .:build. for USE_GNOME components was added. Currently only libxml2 and libxslt support this mechanism. * Updates of the telepathy stack and empathy. * Trim makefile headers, convert ports to new options, trim off library versions for some ports. * Fix other ports so they build with the new glib version. Thanks to miwi and crees for helping out with some exp-runs. Approved by: portmgr (miwi & bapt) Obtained from: gnome team repo
22 lines
1,015 B
C
22 lines
1,015 B
C
--- common-src/glib-util.h.orig 2008-12-01 21:17:19.000000000 +0000
|
|
+++ common-src/glib-util.h 2013-02-07 15:54:27.000000000 +0000
|
|
@@ -62,11 +62,16 @@
|
|
* Returns its second (reset) argument.*/
|
|
GValue* g_value_unset_copy(const GValue* from, GValue * to);
|
|
|
|
+/* This function is available in glib-2.28.0 and higher; for lower versions
|
|
+ * we build our own version with a different name */
|
|
+#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 28))
|
|
+void _slist_free_full(GSList * list, GDestroyNotify free_fn);
|
|
+#else
|
|
+#define _slist_free_full(list, free_fn) g_slist_free_full((list), (free_fn))
|
|
+#endif
|
|
+
|
|
/* These functions all take a GLib container, and call free() on all the
|
|
* pointers in the container before free()ing the container itself. */
|
|
-void g_list_free_full(GList * list);
|
|
-void g_slist_free_full(GSList * list);
|
|
-void g_queue_free_full(GQueue * queue);
|
|
void g_ptr_array_free_full(GPtrArray * array);
|
|
|
|
/* g_value_compare() does what you expect. It returns TRUE if and
|