summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch')
-rw-r--r--meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch b/meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch
new file mode 100644
index 000000000..f735ff819
--- /dev/null
+++ b/meta-gnome/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch
@@ -0,0 +1,39 @@
1From 5aa3d2abb905fa8594f6c6572a87809da54c9342 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Mon, 5 Sep 2016 11:25:27 +0200
4Subject: [PATCH] fix gcc-6 build
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Pending
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 gladeui/glade-editor-property.c | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
17index a0c1039..5e9ac38 100644
18--- a/gladeui/glade-editor-property.c
19+++ b/gladeui/glade-editor-property.c
20@@ -2703,6 +2703,8 @@ glade_eprop_object_view (gboolean radio)
21 }
22
23
24+#pragma GCC diagnostic push
25+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
26 static gchar *
27 glade_eprop_object_dialog_title (GladeEditorProperty *eprop)
28 {
29@@ -2731,6 +2733,7 @@ glade_eprop_object_dialog_title (GladeEditorProperty *eprop)
30 return g_strdup_printf (format, g_type_name
31 (eprop->klass->pspec->value_type));
32 }
33+#pragma GCC diagnostic pop
34
35
36 gboolean
37--
382.5.5
39