summaryrefslogtreecommitdiff
path: root/office/gbgoffice/07_gcc4.3.patch
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-10-21 14:08:25 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-21 15:59:21 -0200
commit9034e05f4e08af3be1f451e8974d79e24a57cb40 (patch)
treee3d3d0f3ff23003b391510ad1e4f29d5ae7c0e99 /office/gbgoffice/07_gcc4.3.patch
parentaf348d087fe2bbc34592caf807982b6d4f8948a2 (diff)
downloadslackbuilds-9034e05f4e08af3be1f451e8974d79e24a57cb40.tar.gz
office/gbgoffice: Added (Bgoffice dictionary frontend)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 0000000000..8b620cd623
--- /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>
+