gtkmathview: fix build for gcc44
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 1 Feb 2010 09:39:36 +0000 (10:39 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 1 Feb 2010 09:44:20 +0000 (10:44 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/mml-widget/files/mathview-gcc43x.diff
recipes/mml-widget/gtkmathview_0.8.0.bb

index 4091051..fcc52c1 100644 (file)
  #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"
index 2fe48ea..8c74573 100644 (file)
@@ -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 \
          "