summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-07-05 17:20:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-11 09:32:50 +0100
commitc9f400d639f9ed48f69b9b99883825fd8cc3b82c (patch)
treec8980fd5c6d10d313a50c6a1274e9b69007343ad /meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
parent696cf580a57de6a0602b51d4a191d54bac901bdd (diff)
downloadpoky-c9f400d639f9ed48f69b9b99883825fd8cc3b82c.tar.gz
gtk+: remove GTK+ 2
GTK+ 2 is ancient, and shouldn't be used. It will be moved to meta-oe for people who do need it, but it shouldn't in oe-core. [ YOCTO #12673 ] (From OE-Core rev: 3c692e0d77e68908ab0ec421356bd4738c5327db) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch b/meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
deleted file mode 100644
index 96e1f5feac..0000000000
--- a/meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1Fixes
2
3include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
4 typedef void (*GtkItemFactoryCallback) ();
5
6gcc5 has -Wstrict-prototypes on by default for -Werror so this becomes a build failure for consumers
7of this header e.g. matchbox-panel-2
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Index: gtk+-2.24.27/gtk/gtkitemfactory.h
13===================================================================
14--- gtk+-2.24.27.orig/gtk/gtkitemfactory.h
15+++ gtk+-2.24.27/gtk/gtkitemfactory.h
16@@ -44,7 +44,7 @@ typedef void (*GtkPrintFunc) (gpoint
17 * (Note that if we are included from a C++ program () will mean
18 * (void) so an explicit cast will be needed.)
19 */
20-typedef void (*GtkItemFactoryCallback) ();
21+typedef void (*GtkItemFactoryCallback) (void);
22 typedef void (*GtkItemFactoryCallback1) (gpointer callback_data,
23 guint callback_action,
24 GtkWidget *widget);