[oe-commits] Martin Jansa : gtkmathview: fix build for gcc44

git version control git at git.openembedded.org
Mon Feb 1 09:45:03 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 00af88c464b1de804d55b81a878431913aa752c7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=00af88c464b1de804d55b81a878431913aa752c7

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Feb  1 10:39:36 2010 +0100

gtkmathview: fix build for gcc44

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/mml-widget/files/mathview-gcc43x.diff |   10 ++++++++++
 recipes/mml-widget/gtkmathview_0.8.0.bb       |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/recipes/mml-widget/files/mathview-gcc43x.diff b/recipes/mml-widget/files/mathview-gcc43x.diff
index 4091051..fcc52c1 100644
--- a/recipes/mml-widget/files/mathview-gcc43x.diff
+++ b/recipes/mml-widget/files/mathview-gcc43x.diff
@@ -51,3 +51,13 @@
  #include <popt.h>
  
  // needed for old versions of GCC, must come before String.hh!
+--- gtkmathview-0.8.0.orig/src/common/AbstractLogger.cc	2007-08-17 12:02:45.000000000 +0200
++++ gtkmathview-0.8.0/src/common/AbstractLogger.cc	2010-02-01 10:19:46.000000000 +0100
+@@ -19,6 +19,7 @@
+ #include <config.h>
+ 
+ #include <stdarg.h>
++#include <stdio.h>
+ 
+ #include "AbstractLogger.hh"
+ 
diff --git a/recipes/mml-widget/gtkmathview_0.8.0.bb b/recipes/mml-widget/gtkmathview_0.8.0.bb
index 2fe48ea..8c74573 100644
--- a/recipes/mml-widget/gtkmathview_0.8.0.bb
+++ b/recipes/mml-widget/gtkmathview_0.8.0.bb
@@ -2,6 +2,8 @@ LICENSE = "GPL"
 HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/"
 DEPENDS = "t1lib gtk+ popt libxslt libxml2"
 
+PR = "r1"
+
 SRC_URI = "http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz \
            file://mathview-gcc43x.diff;patch=1 \
 	  "





More information about the Openembedded-commits mailing list