summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta-oe/recipes-extended/mml-widget/gtkmathview/qualify-lookup.diff13
-rw-r--r--meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb1
2 files changed, 14 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
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
index 709b7b3f7..95deb3725 100644
--- a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
+++ b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
@@ -9,6 +9,7 @@ PR = "r3"
9SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \ 9SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \
10 file://mathview-gcc43x.diff \ 10 file://mathview-gcc43x.diff \
11 file://mathview-gcc47x.diff \ 11 file://mathview-gcc47x.diff \
12 file://qualify-lookup.diff \
12" 13"
13SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299" 14SRC_URI[md5sum] = "b53564e553728d4b69f7d366dfeb5299"
14SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43" 15SRC_URI[sha256sum] = "1dc30175da6a3c560a7d62d1abe1c2f9829d988e6f1a7c5e766544575c558c43"