From 49cb8758eb9c610364ad4e0f13d31d10fc48899f Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Mon, 31 Mar 2014 23:39:27 -0400 Subject: 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 Signed-off-by: Martin Jansa --- .../mml-widget/gtkmathview/qualify-lookup.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff (limited to 'meta-oe/recipes-extended/mml-widget/gtkmathview') 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 @@ +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(); + } + -- cgit v1.2.3-54-g00ecf