summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mml-widget/gtkmathview
diff options
context:
space:
mode:
authorTrevor Woerner <trevor.woerner@linaro.org>2014-03-31 23:39:27 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2014-04-20 11:03:24 +0200
commit49cb8758eb9c610364ad4e0f13d31d10fc48899f (patch)
treeb596340d18cf597cf1fcf0d98db66799c84c575e /meta-oe/recipes-extended/mml-widget/gtkmathview
parente600be768e2c8afddb87a3a5b9167c938d7749db (diff)
downloadmeta-openembedded-49cb8758eb9c610364ad4e0f13d31d10fc48899f.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-extended/mml-widget/gtkmathview')
-rw-r--r--meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff b/meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff
new file mode 100644
index 000000000..1d4895045
--- /dev/null
+++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff
@@ -0,0 +1,13 @@
1Index: gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh
2===================================================================
3--- gtkmathview-0.8.0.orig/src/frontend/common/TemplateElementIterator.hh
4+++ gtkmathview-0.8.0/src/frontend/common/TemplateElementIterator.hh
5@@ -43,7 +43,7 @@ protected:
6 findValidNodeForward(const typename Model::Node& p0) const
7 {
8 for (typename Model::Node p = p0; p; p = Model::getNextSibling(p))
9- if (valid(p)) return Model::asElement(p);
10+ if (this->valid(p)) return Model::asElement(p);
11 return typename Model::Element();
12 }
13