summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2016-04-28 14:16:27 (GMT)
committerBoris Pek <tehnick-8@yandex.ru>2016-04-30 19:09:16 (GMT)
commit58c2c96b967957a1a2df062f13dd4a5817aae792 (patch)
tree6daf81c460a54e520d9dc08e025cc81525fbabf4 /src
parent282e6b7907c9bf0296c4a697b8b9a29c8353095e (diff)
downloadmxe-58c2c96b967957a1a2df062f13dd4a5817aae792.zip
mxe-58c2c96b967957a1a2df062f13dd4a5817aae792.tar.gz
mxe-58c2c96b967957a1a2df062f13dd4a5817aae792.tar.bz2
glib: update patch: fix build with GCC >= 6.x
Diffstat (limited to 'src')
-rw-r--r--src/glib-1-fixes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/glib-1-fixes.patch b/src/glib-1-fixes.patch
index d1cdbad..8709dad 100644
--- a/src/glib-1-fixes.patch
+++ b/src/glib-1-fixes.patch
@@ -580,3 +580,23 @@ index 1111111..2222222 100644
dnl
dnl At the end, if we're not within glib, we'll define the public
dnl definitions in terms of our private definitions.
+
+
+From: Boris Pek <tehnick-8@mail.ru>
+Date: Thu, 28 Apr 2016 16:48:12 +0300
+Subject: [PATCH] fix build with GCC >= 6.x
+
+See plugins/gcc6/README.md
+
+diff --git a/gio/gregistrysettingsbackend.c b/gio/gregistrysettingsbackend.c
+--- a/gio/gregistrysettingsbackend.c
++++ b/gio/gregistrysettingsbackend.c
+@@ -228,7 +228,7 @@
+ if (result_code == ERROR_KEY_DELETED)
+ trace ("(%s)", win32_message);
+ else
+- g_message (win32_message);
++ g_message ("%s", win32_message);
+ };
+
+