summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-09-20 19:05:24 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-09-20 19:05:24 +0200
commit32ff4a8ab98078936799f1fb0cb0330346797dd2 (patch)
treeb94b27f451bf1008d5d5b985cdbee12b7477afbc /patches
parent0452d0bd65ed2a8c345160e4e427252464752993 (diff)
downloadmidipix_build-32ff4a8ab98078936799f1fb0cb0330346797dd2.tar.bz2
midipix_build-32ff4a8ab98078936799f1fb0cb0330346797dd2.tar.xz
patches/glib-2.54.0.local.patch: updated.
Diffstat (limited to 'patches')
-rw-r--r--patches/glib-2.54.0.local.patch67
1 files changed, 47 insertions, 20 deletions
diff --git a/patches/glib-2.54.0.local.patch b/patches/glib-2.54.0.local.patch
index bbbdb785..4d6e61fb 100644
--- a/patches/glib-2.54.0.local.patch
+++ b/patches/glib-2.54.0.local.patch
@@ -1,6 +1,24 @@
-diff -ru glib-2.54.0.orig/gio/gdbusmenumodel.c glib-2.54.0/gio/gdbusmenumodel.c
---- glib-2.54.0.orig/gio/gdbusmenumodel.c 2017-07-14 01:03:38.000000000 +0200
-+++ glib-2.54.0/gio/gdbusmenumodel.c 2017-09-15 13:41:01.197598091 +0200
+--- glib-2.54.0/configure.orig 2017-09-11 02:18:49.000000000 +0200
++++ glib-2.54.0/configure 2017-09-20 19:03:31.573166756 +0200
+@@ -16675,6 +16675,7 @@
+
+
+
++can_build_shared=yes;
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+ $as_echo_n "checking if libtool supports shared libraries... " >&6; }
+@@ -29484,7 +29485,7 @@
+ -Wall -Wstrict-prototypes -Werror=declaration-after-statement \
+ -Werror=missing-prototypes -Werror=implicit-function-declaration \
+ -Werror=pointer-arith -Werror=init-self -Werror=format-security \
+- -Werror=format=2 -Werror=missing-include-dirs; do
++ -Werror=missing-include-dirs; do
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
+ $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
+--- glib-2.54.0/gio/gdbusmenumodel.c.orig 2017-07-14 01:03:38.000000000 +0200
++++ glib-2.54.0/gio/gdbusmenumodel.c 2017-09-20 19:03:31.565166706 +0200
@@ -625,7 +625,7 @@
while (g_variant_iter_loop (&iter, "@a{sv}", &item))
g_sequence_insert_before (point, g_dbus_menu_group_create_item (item));
@@ -10,9 +28,8 @@ diff -ru glib-2.54.0.orig/gio/gdbusmenumodel.c glib-2.54.0/gio/gdbusmenumodel.c
{
g_hash_table_remove (group->menus, GINT_TO_POINTER (menu_id));
items = NULL;
-diff -ru glib-2.54.0.orig/gio/gio-tool-mount.c glib-2.54.0/gio/gio-tool-mount.c
---- glib-2.54.0.orig/gio/gio-tool-mount.c 2017-07-14 01:03:38.000000000 +0200
-+++ glib-2.54.0/gio/gio-tool-mount.c 2017-09-15 14:02:09.478223902 +0200
+--- glib-2.54.0/gio/gio-tool-mount.c.orig 2017-07-14 01:03:38.000000000 +0200
++++ glib-2.54.0/gio/gio-tool-mount.c 2017-09-20 19:03:31.565166706 +0200
@@ -780,7 +780,7 @@
g_object_unref (icon);
}
@@ -22,9 +39,8 @@ diff -ru glib-2.54.0.orig/gio/gio-tool-mount.c glib-2.54.0/gio/gio-tool-mount.c
g_print ("%*sis_media_removable=%d\n", indent + 2, "", g_drive_is_media_removable (drive));
g_print ("%*shas_media=%d\n", indent + 2, "", g_drive_has_media (drive));
g_print ("%*sis_media_check_automatic=%d\n", indent + 2, "", g_drive_is_media_check_automatic (drive));
-diff -ru glib-2.54.0.orig/gio/glocalfilemonitor.c glib-2.54.0/gio/glocalfilemonitor.c
---- glib-2.54.0.orig/gio/glocalfilemonitor.c 2017-07-14 01:03:38.000000000 +0200
-+++ glib-2.54.0/gio/glocalfilemonitor.c 2017-09-15 13:44:25.240386777 +0200
+--- glib-2.54.0/gio/glocalfilemonitor.c.orig 2017-07-14 01:03:38.000000000 +0200
++++ glib-2.54.0/gio/glocalfilemonitor.c 2017-09-20 19:03:31.565166706 +0200
@@ -504,7 +504,7 @@
g_mutex_lock (&fms->lock);
@@ -52,9 +68,8 @@ diff -ru glib-2.54.0.orig/gio/glocalfilemonitor.c glib-2.54.0/gio/glocalfilemoni
g_assert (g_hash_table_size (fms->pending_changes_table) == 0);
g_assert (fms->event_queue.length == 0);
-diff -ru glib-2.54.0.orig/gio/gmenuexporter.c glib-2.54.0/gio/gmenuexporter.c
---- glib-2.54.0.orig/gio/gmenuexporter.c 2017-07-14 01:03:38.000000000 +0200
-+++ glib-2.54.0/gio/gmenuexporter.c 2017-09-15 13:43:12.772817146 +0200
+--- glib-2.54.0/gio/gmenuexporter.c.orig 2017-07-14 01:03:38.000000000 +0200
++++ glib-2.54.0/gio/gmenuexporter.c 2017-09-20 19:03:31.569166731 +0200
@@ -377,7 +377,7 @@
guint id = GPOINTER_TO_INT (key);
GMenuExporterMenu *menu = val;
@@ -64,13 +79,25 @@ diff -ru glib-2.54.0.orig/gio/gmenuexporter.c glib-2.54.0/gio/gmenuexporter.c
{
g_variant_builder_open (builder, G_VARIANT_TYPE ("(uuaa{sv})"));
g_variant_builder_add (builder, "u", group->id);
---- glib-2.54.0/configure.orig 2017-09-11 02:18:49.000000000 +0200
-+++ glib-2.54.0/configure 2017-09-20 17:29:08.801664593 +0200
-@@ -16675,6 +16681,7 @@
+--- glib-2.54.0/gio/inotify/Makefile.in.orig 2017-09-11 02:18:51.000000000 +0200
++++ glib-2.54.0/gio/inotify/Makefile.in 2017-09-20 19:03:31.561166681 +0200
+@@ -180,7 +180,7 @@
+ "$(DESTDIR)$(installed_test_metadir)" \
+ "$(DESTDIR)$(installed_testdir)"
+ LTLIBRARIES = $(installed_test_LTLIBRARIES) $(noinst_LTLIBRARIES)
+-libinotify_la_LIBADD =
++libinotify_la_LIBADD = -L../../glib -lglib-2.0
+ am__objects_1 =
+ am_libinotify_la_OBJECTS = libinotify_la-inotify-kernel.lo \
+ libinotify_la-inotify-sub.lo libinotify_la-inotify-path.lo \
+--- glib-2.54.0/glib-2.0.pc.in.orig 2016-10-22 07:17:22.000000000 +0200
++++ glib-2.54.0/glib-2.0.pc.in 2017-09-20 19:03:31.561166681 +0200
+@@ -5,7 +5,7 @@
+ glib_genmarshal=glib-genmarshal
+ gobject_query=gobject-query
+-glib_mkenums=glib-mkenums
++glib_mkenums=@exec_prefix@/bin/glib-mkenums
-
-+can_build_shared=yes;
- # Report what library types will actually be built
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
- $as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ Name: GLib
+ Description: C Utility Library