gtkmathview: fix build error

When building, I was seeing the following error which this patch fixes:

	../../../src/frontend/common/TemplateElementIterator.hh:46:18: error:
	'valid' was not declared in this scope, and no declarations were found by
	argument-dependent lookup at the point of instantiation [-fpermissive]

Upstream-Status: Submitted [padovani .at. di .dot. unito .dot. it]
Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Trevor Woerner
2014-03-31 23:39:27 -04:00
committed by Martin Jansa
parent e600be768e
commit 49cb8758eb
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
Index: gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh
===================================================================
--- gtkmathview-0.8.0.orig/src/frontend/common/TemplateElementIterator.hh
+++ gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh
@@ -43,7 +43,7 @@ protected:
findValidNodeForward(const typename Model::Node& p0) const
{
for (typename Model::Node p = p0; p; p = Model::getNextSibling(p))
- if (valid(p)) return Model::asElement(p);
+ if (this->valid(p)) return Model::asElement(p);
return typename Model::Element();
}
@@ -9,6 +9,7 @@ PR = "r3"
SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \
file://mathview-gcc43x.diff \
file://mathview-gcc47x.diff \
file://qualify-lookup.diff \
"
SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299"
SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43"