summaryrefslogtreecommitdiff
path: root/misc/amanda26-server/files/patch-common-src_glib-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/amanda26-server/files/patch-common-src_glib-util.h')
-rw-r--r--misc/amanda26-server/files/patch-common-src_glib-util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/misc/amanda26-server/files/patch-common-src_glib-util.h b/misc/amanda26-server/files/patch-common-src_glib-util.h
deleted file mode 100644
index 913e150674ee..000000000000
--- a/misc/amanda26-server/files/patch-common-src_glib-util.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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