slackbuilds_ponce/office/gbgoffice/07_gcc4.3.patch
Petar Petrov 9034e05f4e office/gbgoffice: Added (Bgoffice dictionary frontend)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-10-21 15:59:21 -02:00

14 lines
359 B
Diff

# 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>