pkgsrc/devel/valide/patches/patch-libvalide_project_vala
dholland 82d8026ebd Fix the first two or three build failures. Judging by what comes next
it is probably not worth trying to patch this any further, rather than
updating it (although there are/were some problems with things it may
depend on) but maybe making some progress will inspire someone else to
take this up.

In particular I tracked down the lossage where it was looking for vala
1.0 and the current vala versions are 0.12 and 0.14. It seems that
what someone optimistically intended at some point to be vala-1.0
(after vala-0.9) ended up released as vala-0.10.
2012-04-02 04:02:46 +00:00

33 lines
1.3 KiB
Text

$NetBSD: patch-libvalide_project_vala,v 1.1 2012/04/02 04:02:46 dholland Exp $
Adjust for newer vala interfaces.
--- libvalide/project.vala.orig 2009-03-09 21:38:22.000000000 +0000
+++ libvalide/project.vala
@@ -129,7 +129,7 @@ public class Valide.Project : Object
{
List<string> files_ = null;
- Xml.NodeSet* nodes = Markup.get_nodes (this.filename,
+ Xml.XPath.NodeSet* nodes = Markup.get_nodes (this.filename,
"/project/files/file/text ()");
for (int i = 0; i < nodes->length (); i++)
{
@@ -335,7 +335,7 @@ public class Valide.Project : Object
{
List<string> pkg_ = null;
- Xml.NodeSet* nodes = Markup.get_nodes (this.filename,
+ Xml.XPath.NodeSet* nodes = Markup.get_nodes (this.filename,
"/project/compiler/pkg/text ()");
for (int i = 0; i < nodes->length (); i++)
{
@@ -360,7 +360,7 @@ public class Valide.Project : Object
{
List<string> vapi_ = null;
- Xml.NodeSet* nodes = Markup.get_nodes (this.filename,
+ Xml.XPath.NodeSet* nodes = Markup.get_nodes (this.filename,
"/project/compiler/vapi/text ()");
for (int i = 0; i < nodes->length (); i++)
{