summaryrefslogtreecommitdiff
path: root/patches/30-fix-gcc-4.3-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/30-fix-gcc-4.3-build.patch')
-rw-r--r--patches/30-fix-gcc-4.3-build.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/30-fix-gcc-4.3-build.patch b/patches/30-fix-gcc-4.3-build.patch
new file mode 100644
index 0000000..bcdbc8a
--- /dev/null
+++ b/patches/30-fix-gcc-4.3-build.patch
@@ -0,0 +1,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"