summaryrefslogtreecommitdiff
path: root/debian/patches/30-fix-gcc-4.3-build.patch
blob: bcdbc8acfef931d6e640339c4dfd8393c5057faa (plain)
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
# Description: include missing headers
# Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>

Index: gmrun-0.9.2/src/ci_string.h
===================================================================
--- gmrun-0.9.2.orig/src/ci_string.h	2010-02-03 12:31:31.323767018 +0800
+++ gmrun-0.9.2/src/ci_string.h	2010-02-03 12:31:38.822001700 +0800
@@ -8,6 +8,7 @@
 
 #include <string>
 #include <ctype.h>
+#include <cstring>
 
 struct ci_char_traits : public std::char_traits<char>
 {
Index: gmrun-0.9.2/src/gtkcompletionline.cc
===================================================================
--- gmrun-0.9.2.orig/src/gtkcompletionline.cc	2010-02-03 12:31:43.951768512 +0800
+++ gmrun-0.9.2/src/gtkcompletionline.cc	2010-02-03 12:31:51.199767425 +0800
@@ -30,6 +30,7 @@
 #include <sstream>
 #include <string>
 #include <vector>
+#include <cstring>
 using namespace std;
 
 #include "gtkcompletionline.h"