[gnome-ostree] manifest: Temporarily patch vala
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] manifest: Temporarily patch vala
- Date: Sat, 2 Feb 2013 10:15:47 +0000 (UTC)
commit 5794c792a0a405fde31a06b1d74b4ee3e201c57e
Author: Colin Walters <walters verbum org>
Date: Sat Feb 2 05:15:42 2013 -0500
manifest: Temporarily patch vala
manifest.json | 1 +
patches/vala-vapigen-ignore-node.patch | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 1acc198..b1981ea 100644
--- a/manifest.json
+++ b/manifest.json
@@ -629,6 +629,7 @@
"--disable-vapigen"]},
{"src": "gnome:vala",
+ "patches": ["vala-vapigen-ignore-node.patch"],
"config-opts": ["--enable-vapigen"]},
{"src": "gnome:libgee",
diff --git a/patches/vala-vapigen-ignore-node.patch b/patches/vala-vapigen-ignore-node.patch
new file mode 100644
index 0000000..39d6ab5
--- /dev/null
+++ b/patches/vala-vapigen-ignore-node.patch
@@ -0,0 +1,29 @@
+From 15c59a42ad492c925a52d7d850c441b7c09fac5f Mon Sep 17 00:00:00 2001
+From: "Jasper St. Pierre" <jstpierre mecheye net>
+Date: Sat, 2 Feb 2013 04:56:39 -0500
+Subject: [PATCH] valagirparser: Make vala's GIR parser understand the new
+ instance-parameter tag
+
+---
+ vala/valagirparser.vala | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
+index 0a90886..354d10b 100644
+--- a/vala/valagirparser.vala
++++ b/vala/valagirparser.vala
+@@ -2901,6 +2901,11 @@ public class Vala.GirParser : CodeVisitor {
+ continue;
+ }
+
++ if (reader.name == "instance-parameter") {
++ skip_element ();
++ continue;
++ }
++
+ int array_length_idx, closure_idx, destroy_idx;
+ string scope;
+ string default_param_name = null;
+--
+1.8.1
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]