File gtkmathview-gcc43-fixes.patch of Package gtkmathview

Index: gtkmathview-0.8.0/src/engine/mathml/mathVariantAux.cc
===================================================================
--- gtkmathview-0.8.0.orig/src/engine/mathml/mathVariantAux.cc
+++ gtkmathview-0.8.0/src/engine/mathml/mathVariantAux.cc
@@ -18,6 +18,7 @@
 
 #include <config.h>
 
+#include <string.h>
 #include <cassert>
 
 #include "mathVariantAux.hh"
Index: gtkmathview-0.8.0/src/backend/ps/T1_FontDataBase.cc
===================================================================
--- gtkmathview-0.8.0.orig/src/backend/ps/T1_FontDataBase.cc
+++ gtkmathview-0.8.0/src/backend/ps/T1_FontDataBase.cc
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <map>
 #include <string>
+#include <string.h>
 #include <stdlib.h>
 #include <iostream>
 #include <list>
Index: gtkmathview-0.8.0/configure.ac
===================================================================
--- gtkmathview-0.8.0.orig/configure.ac
+++ gtkmathview-0.8.0/configure.ac
@@ -452,7 +452,7 @@ if test "$enable_ps" = "yes"; then
 fi
 AM_CONDITIONAL([COND_PS], [test "$enable_ps" = "yes"])
 
-AM_BINRELOC
+dnl AM_BINRELOC
 AM_CONDITIONAL(WITH_BINRELOC, test "x$br_cv_binreloc" = "xyes")
 
 AC_MSG_CHECKING([whether to use GCC precompiled headers with $CXX])
Index: gtkmathview-0.8.0/viewer/Makefile.am
===================================================================
--- gtkmathview-0.8.0.orig/viewer/Makefile.am
+++ gtkmathview-0.8.0/viewer/Makefile.am
@@ -31,6 +31,8 @@ mathmlviewer_static_LDADD = \
   $(DOM_LIBS) \
   $(GTK_LIBS) \
   $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
+  $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
+  $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
   $(T1_LIBS) \
   $(T1_LIBS_X) \
   $(NULL)
Index: gtkmathview-0.8.0/mathmlsvg/SMS.cc
===================================================================
--- gtkmathview-0.8.0.orig/mathmlsvg/SMS.cc
+++ gtkmathview-0.8.0/mathmlsvg/SMS.cc
@@ -18,6 +18,7 @@
 
 #include <config.h>
 
+#include <string.h>
 #include <sstream>
 #include "defs.h"
 #include "AbstractLogger.hh"
Index: gtkmathview-0.8.0/mathmlsvg/main.cc
===================================================================
--- gtkmathview-0.8.0.orig/mathmlsvg/main.cc
+++ gtkmathview-0.8.0/mathmlsvg/main.cc
@@ -20,6 +20,7 @@
 
 #include <cassert>
 #include <fstream>
+#include <string.h>
 
 #include <popt.h>
 
Index: gtkmathview-0.8.0/mathmlps/main.cc
===================================================================
--- gtkmathview-0.8.0.orig/mathmlps/main.cc
+++ gtkmathview-0.8.0/mathmlps/main.cc
@@ -20,6 +20,7 @@
 
 #include <cassert>
 #include <fstream>
+#include <string.h>
 
 #include <popt.h>
 
Index: gtkmathview-0.8.0/src/common/AbstractLogger.cc
===================================================================
--- gtkmathview-0.8.0.orig/src/common/AbstractLogger.cc
+++ gtkmathview-0.8.0/src/common/AbstractLogger.cc
@@ -19,6 +19,7 @@
 #include <config.h>
 
 #include <stdarg.h>
+#include <cstdio>
 
 #include "AbstractLogger.hh"
openSUSE Build Service is sponsored by