From 45b0b62b761d3be7ca1226b16d03557169b86041 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 11 May 2015 22:34:42 -0700 Subject: libbonoboui: Fix build with gcc5 This is required to remove non-existing include paths which gcc-5 detects and is fussy about Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-gnome/recipes-gnome/bonobo/files/gcc5.patch | 12 ++++++++++++ meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 meta-gnome/recipes-gnome/bonobo/files/gcc5.patch (limited to 'meta-gnome/recipes-gnome') diff --git a/meta-gnome/recipes-gnome/bonobo/files/gcc5.patch b/meta-gnome/recipes-gnome/bonobo/files/gcc5.patch new file mode 100644 index 0000000000..f7528adad4 --- /dev/null +++ b/meta-gnome/recipes-gnome/bonobo/files/gcc5.patch @@ -0,0 +1,12 @@ +Index: libbonoboui-2.24.5/tools/browser/Makefile.am +=================================================================== +--- libbonoboui-2.24.5.orig/tools/browser/Makefile.am ++++ libbonoboui-2.24.5/tools/browser/Makefile.am +@@ -2,7 +2,6 @@ INCLUDES = \ + -DBONOBO_BROWSER_DATADIR=\""$(datadir)"\" \ + -DBONOBO_SUPPORT_LOCALEDIR=\""$(datadir)/locale"\" \ + -I$(srcdir) -I$(top_srcdir) \ +- -I$(top_srcdir)/bonobo-browser \ + $(BONOBOUI_CFLAGS) \ + $(WARN_CFLAGS) + diff --git a/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb b/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb index 6c2d67aa6a..f3e37a991d 100644 --- a/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb +++ b/meta-gnome/recipes-gnome/bonobo/libbonoboui_2.24.5.bb @@ -4,6 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" inherit gnomebase pkgconfig gtk-doc + +SRC_URI += "file://gcc5.patch" + SRC_URI[archive.md5sum] = "853be8e28aaa4ce48ba60be7d9046bf4" SRC_URI[archive.sha256sum] = "fab5f2ac6c842d949861c07cb520afe5bee3dce55805151ce9cd01be0ec46fcd" -- cgit 1.2.3-korg