1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/libraries/gtkmathview/gcc-4.3-build-fixes.patch
Russell O'Connor 88ec92d14c Matita and its dependencies.
svn path=/nixpkgs/trunk/; revision=25328
2010-12-31 17:48:55 +00:00

75 lines
1.8 KiB
Diff

From: Stefano Zacchiroli <zack@upsilon.cc>
Date: Fri, 11 Dec 2009 12:58:56 +0100
Subject: [PATCH] gcc 4.3 build fixes
---
mathmlps/main.cc | 1 +
mathmlsvg/SMS.cc | 1 +
mathmlsvg/main.cc | 1 +
src/backend/ps/T1_FontDataBase.cc | 2 +-
src/engine/mathml/mathVariantAux.cc | 1 +
5 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/mathmlps/main.cc b/mathmlps/main.cc
index cc6cd1c..48339af 100644
--- a/mathmlps/main.cc
+++ b/mathmlps/main.cc
@@ -19,6 +19,7 @@
#include <config.h>
#include <cassert>
+#include <cstring>
#include <fstream>
#include <popt.h>
diff --git a/mathmlsvg/SMS.cc b/mathmlsvg/SMS.cc
index a76266e..be7add8 100644
--- a/mathmlsvg/SMS.cc
+++ b/mathmlsvg/SMS.cc
@@ -18,6 +18,7 @@
#include <config.h>
+#include <cstring>
#include <sstream>
#include "defs.h"
#include "AbstractLogger.hh"
diff --git a/mathmlsvg/main.cc b/mathmlsvg/main.cc
index 259d67e..c49e8ac 100644
--- a/mathmlsvg/main.cc
+++ b/mathmlsvg/main.cc
@@ -19,6 +19,7 @@
#include <config.h>
#include <cassert>
+#include <cstring>
#include <fstream>
#include <popt.h>
diff --git a/src/backend/ps/T1_FontDataBase.cc b/src/backend/ps/T1_FontDataBase.cc
index b6490eb..3dd436c 100644
--- a/src/backend/ps/T1_FontDataBase.cc
+++ b/src/backend/ps/T1_FontDataBase.cc
@@ -19,7 +19,7 @@
#include <t1lib.h>
#include <config.h>
#include <map>
-#include <string>
+#include <cstring>
#include <stdlib.h>
#include <iostream>
#include <list>
diff --git a/src/engine/mathml/mathVariantAux.cc b/src/engine/mathml/mathVariantAux.cc
index 736acc1..dcf1826 100644
--- a/src/engine/mathml/mathVariantAux.cc
+++ b/src/engine/mathml/mathVariantAux.cc
@@ -19,6 +19,7 @@
#include <config.h>
#include <cassert>
+#include <cstring>
#include "mathVariantAux.hh"
--