aboutsummaryrefslogtreecommitdiff
path: root/office/gbgoffice/07_gcc4.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/gbgoffice/07_gcc4.3.patch')
-rw-r--r--office/gbgoffice/07_gcc4.3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/office/gbgoffice/07_gcc4.3.patch b/office/gbgoffice/07_gcc4.3.patch
new file mode 100644
index 0000000000000..8b620cd6235ad
--- /dev/null
+++ b/office/gbgoffice/07_gcc4.3.patch
@@ -0,0 +1,14 @@
+# Author: Damyan Ivanov <dmn@debian.org>
+# Description: include the right header file
+# GCC 4.3 has stricter rules about inclusion propagation
+--- a/src/translator_manager.cpp
++++ b/src/translator_manager.cpp
+@@ -22,7 +22,7 @@
+
+ #include <sys/types.h>
+ #include <dirent.h>
+-#include <string>
++#include <cstring>
+ #include <iostream>
+ #include <algorithm>
+