about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/gtkmathview/gcc-4.3-build-fixes.patch
blob: 14ad594b38b8f4fb625ce53776cb1c7fb58b8626 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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"
 
--