1 --- amanda-3.2.3/common-src/glib-util.c~ 2010-12-08 23:09:29.000000000 +0100
2 +++ amanda-3.2.3/common-src/glib-util.c 2012-04-03 12:02:32.801046078 +0200
7 +#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32))
8 void g_queue_free_full(GQueue * queue) {
9 while (!g_queue_is_empty(queue)) {
17 void g_ptr_array_free_full(GPtrArray * array) {
19 --- amanda-3.2.3/common-src/glib-util.h~ 2010-12-08 23:09:29.000000000 +0100
20 +++ amanda-3.2.3/common-src/glib-util.h 2012-04-03 12:03:14.514381294 +0200
23 /* These functions all take a GLib container, and call free() on all the
24 * pointers in the container before free()ing the container itself. */
25 +#if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32))
26 void g_queue_free_full(GQueue * queue);
28 void g_ptr_array_free_full(GPtrArray * array);
30 /* g_value_compare() does what you expect. It returns TRUE if and
31 --- amanda-3.2.3.old/common-src/glib-util.c 2012/03/10 13:43:52
32 +++ amanda-3.2.3/common-src/glib-util.c 2012/05/07 17:25:35
36 # ifdef G_THREADS_ENABLED
37 +# if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32))
38 g_assert(!g_thread_supported()); /* assert threads aren't initialized yet */
41 g_assert(curl_global_init(CURL_GLOBAL_ALL) == 0);