Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/glib-2.54.0.local.patch

Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/configure.orig	2017-09-11 02:18:49.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/configure	2017-09-20 19:03:31.573166756 +0200
Lucio Andrés Illanes Albornoz 32ff4a
@@ -16675,6 +16675,7 @@
Lucio Andrés Illanes Albornoz 32ff4a
 
Lucio Andrés Illanes Albornoz 32ff4a
 
Lucio Andrés Illanes Albornoz 32ff4a
 
Lucio Andrés Illanes Albornoz 32ff4a
+can_build_shared=yes;
Lucio Andrés Illanes Albornoz 32ff4a
   # Report what library types will actually be built
Lucio Andrés Illanes Albornoz 32ff4a
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
Lucio Andrés Illanes Albornoz 32ff4a
 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
Lucio Andrés Illanes Albornoz 32ff4a
@@ -29484,7 +29485,7 @@
Lucio Andrés Illanes Albornoz 32ff4a
    -Wall -Wstrict-prototypes -Werror=declaration-after-statement \
Lucio Andrés Illanes Albornoz 32ff4a
    -Werror=missing-prototypes -Werror=implicit-function-declaration \
Lucio Andrés Illanes Albornoz 32ff4a
    -Werror=pointer-arith -Werror=init-self -Werror=format-security \
Lucio Andrés Illanes Albornoz 32ff4a
-   -Werror=format=2 -Werror=missing-include-dirs; do
Lucio Andrés Illanes Albornoz 32ff4a
+   -Werror=missing-include-dirs; do
Lucio Andrés Illanes Albornoz 32ff4a
 
Lucio Andrés Illanes Albornoz 32ff4a
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
Lucio Andrés Illanes Albornoz 32ff4a
 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/gio/gdbusmenumodel.c.orig	2017-07-14 01:03:38.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/gio/gdbusmenumodel.c	2017-09-20 19:03:31.565166706 +0200
Lucio Andrés Illanes Albornoz 7faf6a
@@ -625,7 +625,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
   while (g_variant_iter_loop (&iter, "@a{sv}", &item))
Lucio Andrés Illanes Albornoz 7faf6a
     g_sequence_insert_before (point, g_dbus_menu_group_create_item (item));
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
-  if (g_sequence_is_empty (items))
Lucio Andrés Illanes Albornoz 7faf6a
+  if (g_sequence_get_length (items) == 0)
Lucio Andrés Illanes Albornoz 7faf6a
     {
Lucio Andrés Illanes Albornoz 7faf6a
       g_hash_table_remove (group->menus, GINT_TO_POINTER (menu_id));
Lucio Andrés Illanes Albornoz 7faf6a
       items = NULL;
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/gio/gio-tool-mount.c.orig	2017-07-14 01:03:38.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/gio/gio-tool-mount.c	2017-09-20 19:03:31.565166706 +0200
Lucio Andrés Illanes Albornoz 7faf6a
@@ -780,7 +780,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
               g_object_unref (icon);
Lucio Andrés Illanes Albornoz 7faf6a
             }
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
-          g_print ("%*sis_removable=%d\n", indent + 2, "", g_drive_is_removable (drive));
Lucio Andrés Illanes Albornoz 7faf6a
+          //g_print ("%*sis_removable=%d\n", indent + 2, "", g_drive_is_removable (drive));
Lucio Andrés Illanes Albornoz 7faf6a
           g_print ("%*sis_media_removable=%d\n", indent + 2, "", g_drive_is_media_removable (drive));
Lucio Andrés Illanes Albornoz 7faf6a
           g_print ("%*shas_media=%d\n", indent + 2, "", g_drive_has_media (drive));
Lucio Andrés Illanes Albornoz 7faf6a
           g_print ("%*sis_media_check_automatic=%d\n", indent + 2, "", g_drive_is_media_check_automatic (drive));
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/gio/glocalfilemonitor.c.orig	2017-07-14 01:03:38.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/gio/glocalfilemonitor.c	2017-09-20 19:03:31.565166706 +0200
Lucio Andrés Illanes Albornoz 7faf6a
@@ -504,7 +504,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
   g_mutex_lock (&fms->lock);
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
   /* Create events for any pending changes that are due to fire */
Lucio Andrés Illanes Albornoz 7faf6a
-  while (!g_sequence_is_empty (fms->pending_changes))
Lucio Andrés Illanes Albornoz 7faf6a
+  while (g_sequence_get_length (fms->pending_changes))
Lucio Andrés Illanes Albornoz 7faf6a
     {
Lucio Andrés Illanes Albornoz 7faf6a
       GSequenceIter *iter = g_sequence_get_begin_iter (fms->pending_changes);
Lucio Andrés Illanes Albornoz 7faf6a
       PendingChange *pending = g_sequence_get (iter);
Lucio Andrés Illanes Albornoz 7faf6a
@@ -572,7 +572,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
       while ((event = g_queue_pop_head (&fms->event_queue)))
Lucio Andrés Illanes Albornoz 7faf6a
         queued_event_free (event);
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
-      g_assert (g_sequence_is_empty (fms->pending_changes));
Lucio Andrés Illanes Albornoz 7faf6a
+      g_assert (g_sequence_get_length (fms->pending_changes) == 0);
Lucio Andrés Illanes Albornoz 7faf6a
       g_assert (g_hash_table_size (fms->pending_changes_table) == 0);
Lucio Andrés Illanes Albornoz 7faf6a
       g_assert (fms->event_queue.length == 0);
Lucio Andrés Illanes Albornoz 7faf6a
       fms->instance = NULL;
Lucio Andrés Illanes Albornoz 7faf6a
@@ -592,7 +592,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
   /* should already have been cleared in dispose of the monitor */
Lucio Andrés Illanes Albornoz 7faf6a
   g_assert (fms->instance == NULL);
Lucio Andrés Illanes Albornoz 7faf6a
-  g_assert (g_sequence_is_empty (fms->pending_changes));
Lucio Andrés Illanes Albornoz 7faf6a
+  g_assert (g_sequence_get_length (fms->pending_changes) == 0);
Lucio Andrés Illanes Albornoz 7faf6a
   g_assert (g_hash_table_size (fms->pending_changes_table) == 0);
Lucio Andrés Illanes Albornoz 7faf6a
   g_assert (fms->event_queue.length == 0);
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/gio/gmenuexporter.c.orig	2017-07-14 01:03:38.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/gio/gmenuexporter.c	2017-09-20 19:03:31.569166731 +0200
Lucio Andrés Illanes Albornoz 7faf6a
@@ -377,7 +377,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
       guint id = GPOINTER_TO_INT (key);
Lucio Andrés Illanes Albornoz 7faf6a
       GMenuExporterMenu *menu = val;
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 7faf6a
-      if (!g_sequence_is_empty (menu->item_links))
Lucio Andrés Illanes Albornoz 7faf6a
+      if (g_sequence_get_length (menu->item_links))
Lucio Andrés Illanes Albornoz 7faf6a
         {
Lucio Andrés Illanes Albornoz 7faf6a
           g_variant_builder_open (builder, G_VARIANT_TYPE ("(uuaa{sv})"));
Lucio Andrés Illanes Albornoz 7faf6a
           g_variant_builder_add (builder, "u", group->id);
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/gio/inotify/Makefile.in.orig	2017-09-11 02:18:51.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/gio/inotify/Makefile.in	2017-09-20 19:03:31.561166681 +0200
Lucio Andrés Illanes Albornoz 32ff4a
@@ -180,7 +180,7 @@
Lucio Andrés Illanes Albornoz 32ff4a
 	"$(DESTDIR)$(installed_test_metadir)" \
Lucio Andrés Illanes Albornoz 32ff4a
 	"$(DESTDIR)$(installed_testdir)"
Lucio Andrés Illanes Albornoz 32ff4a
 LTLIBRARIES = $(installed_test_LTLIBRARIES) $(noinst_LTLIBRARIES)
Lucio Andrés Illanes Albornoz 32ff4a
-libinotify_la_LIBADD =
Lucio Andrés Illanes Albornoz 32ff4a
+libinotify_la_LIBADD = -L../../glib -lglib-2.0
Lucio Andrés Illanes Albornoz 32ff4a
 am__objects_1 =
Lucio Andrés Illanes Albornoz 32ff4a
 am_libinotify_la_OBJECTS = libinotify_la-inotify-kernel.lo \
Lucio Andrés Illanes Albornoz 32ff4a
 	libinotify_la-inotify-sub.lo libinotify_la-inotify-path.lo \
Lucio Andrés Illanes Albornoz 32ff4a
--- glib-2.54.0/glib-2.0.pc.in.orig	2016-10-22 07:17:22.000000000 +0200
Lucio Andrés Illanes Albornoz 32ff4a
+++ glib-2.54.0/glib-2.0.pc.in	2017-09-20 19:03:31.561166681 +0200
Lucio Andrés Illanes Albornoz 32ff4a
@@ -5,7 +5,7 @@
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 32ff4a
 glib_genmarshal=glib-genmarshal
Lucio Andrés Illanes Albornoz 32ff4a
 gobject_query=gobject-query
Lucio Andrés Illanes Albornoz 32ff4a
-glib_mkenums=glib-mkenums
Lucio Andrés Illanes Albornoz 32ff4a
+glib_mkenums=@exec_prefix@/bin/glib-mkenums
Lucio Andrés Illanes Albornoz 7faf6a
 
Lucio Andrés Illanes Albornoz 32ff4a
 Name: GLib
Lucio Andrés Illanes Albornoz 32ff4a
 Description: C Utility Library