All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome][PATCH 1/7] libgnomeprint: Fix build with newer bison >= 3
@ 2015-05-05 19:09 Khem Raj
  2015-05-05 19:09 ` [meta-oe][PATCH 2/7] polkit-gnome: Upgrade 0.102 -> 0.105 Khem Raj
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Khem Raj @ 2015-05-05 19:09 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../gnome/libgnomeprint/bison3-support.patch       | 30 ++++++++++++++++++++++
 .../recipes-gnome/gnome/libgnomeprint_2.18.8.bb    |  5 ++--
 2 files changed, 33 insertions(+), 2 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome/libgnomeprint/bison3-support.patch

diff --git a/meta-gnome/recipes-gnome/gnome/libgnomeprint/bison3-support.patch b/meta-gnome/recipes-gnome/gnome/libgnomeprint/bison3-support.patch
new file mode 100644
index 0000000..29d410a
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome/libgnomeprint/bison3-support.patch
@@ -0,0 +1,30 @@
+Index: libgnomeprint-2.18.8/libgnomeprint/grammar.y
+===================================================================
+--- libgnomeprint-2.18.8.orig/libgnomeprint/grammar.y
++++ libgnomeprint-2.18.8/libgnomeprint/grammar.y
+@@ -99,7 +99,7 @@ gnome_print_filter_parse_prop (GnomePrin
+ }
+ 
+ static int yylex (void *lvalp);
+-static int yyerror (const char *s);
++static int yyerror (graph_t *g, const char *s);
+ %}
+ 
+ %union {
+@@ -117,6 +117,7 @@ static int yyerror (const char *s);
+ %type <p> pool
+ 
+ %pure_parser
++%parse-param { graph_t *graph }
+ 
+ %start graph
+ %%
+@@ -185,7 +186,7 @@ graph: filter {
+ %%
+ 
+ static int
+-yyerror (const char *s)
++yyerror (graph_t *g, const char *s)
+ {
+ 	return -1;
+ }
diff --git a/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb b/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb
index 15e513a..b17062b 100644
--- a/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb
+++ b/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.8.bb
@@ -1,15 +1,16 @@
 LICENSE = "GPLv2"
 SECTION = "x11/gnome/libs"
 
-DEPENDS = "libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common freetype"
+DEPENDS = "bison-native flex-native libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common freetype"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-inherit pkgconfig gnomebase
+inherit gnomebase
 
 SRC_URI += "file://fix.includes.patch \
             file://freetype.patch \
             file://0001-configure-use-pkgconfig-for-freetype.patch \
+            file://bison3-support.patch \
            "
 SRC_URI[archive.md5sum] = "63b05ffb5386e131487c6af30f4c56ac"
 SRC_URI[archive.sha256sum] = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-05-11 19:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05 19:09 [meta-gnome][PATCH 1/7] libgnomeprint: Fix build with newer bison >= 3 Khem Raj
2015-05-05 19:09 ` [meta-oe][PATCH 2/7] polkit-gnome: Upgrade 0.102 -> 0.105 Khem Raj
2015-05-05 19:09 ` [meta-oe][PATCH 3/7] imagemagick: Update PATCHSET to 10 Khem Raj
2015-05-05 19:09 ` [meta-oe][PATCH 4/7] pangomm: Use http instead of ftp for SRC_URI Khem Raj
2015-05-05 19:09 ` [meta-oe][PATCH 5/7] libsigc++: Use http instead of ftp in SRC_URI Khem Raj
2015-05-05 19:09 ` [meta-gnome][PATCH 6/7] gdm: Whitelist it Khem Raj
2015-05-05 19:09 ` [meta-oe][meta-gnome][PATCH 7/7] obex, gnome-bluetooth: Depend on bluez5 Khem Raj
2015-05-11  9:16   ` Martin Jansa
2015-05-11 16:06     ` Khem Raj
2015-05-11 18:58       ` Martin Jansa
2015-05-11 19:38         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.