diff options
author | Muflone | 2016-05-22 14:19:56 +0200 |
---|---|---|
committer | Muflone | 2016-05-22 14:20:37 +0200 |
commit | 81be5190acbf40ea22bb36e76644733f73854bf4 (patch) | |
tree | 14d103650a8ebf316f2a8d97efadcd15ff36363f /no-check-format-nonliteral.patch | |
parent | 9644514db0f99325293e7282a1a4b56193036351 (diff) | |
download | aur-81be5190acbf40ea22bb36e76644733f73854bf4.tar.gz |
Updated package glade-gtk2 3.8.5-4
Diffstat (limited to 'no-check-format-nonliteral.patch')
-rw-r--r-- | no-check-format-nonliteral.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/no-check-format-nonliteral.patch b/no-check-format-nonliteral.patch new file mode 100644 index 000000000000..134b54b16204 --- /dev/null +++ b/no-check-format-nonliteral.patch @@ -0,0 +1,27 @@ +--- src/glade3-3.8.5/gladeui/glade-editor-property.c 2014-04-23 23:08:02.000000000 +0200 ++++ glade-editor-property.c 2016-05-22 14:05:18.871026000 +0200 +@@ -72,7 +72,6 @@ + #define FLAGS_COLUMN_SETTING 0 + #define FLAGS_COLUMN_SYMBOL 1 + +- + /******************************************************************************* + GladeEditorPropertyClass + *******************************************************************************/ +@@ -2716,6 +2715,8 @@ + format = GLADE_IS_PARAM_SPEC_OBJECTS (eprop->klass->pspec) ? + _("Choose %s type objects in this project") : _("Choose a %s in this project"); + ++ #pragma GCC diagnostic push ++ #pragma GCC diagnostic ignored "-Wformat-nonliteral" + if (GLADE_IS_PARAM_SPEC_OBJECTS (eprop->klass->pspec)) + return g_strdup_printf (format, g_type_name + (glade_param_spec_objects_get_type +@@ -2730,6 +2731,7 @@ + */ + return g_strdup_printf (format, g_type_name + (eprop->klass->pspec->value_type)); ++ #pragma GCC diagnostic pop + } + + |