diff options
Diffstat (limited to 'meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch')
| -rw-r--r-- | meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch b/meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch new file mode 100644 index 0000000000..f735ff8190 --- /dev/null +++ b/meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From 5aa3d2abb905fa8594f6c6572a87809da54c9342 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Mon, 5 Sep 2016 11:25:27 +0200 | ||
| 4 | Subject: [PATCH] fix gcc-6 build | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 12 | --- | ||
| 13 | gladeui/glade-editor-property.c | 3 +++ | ||
| 14 | 1 file changed, 3 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c | ||
| 17 | index 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 | -- | ||
| 38 | 2.5.5 | ||
| 39 | |||
