slackbuilds_ponce/office/gbgoffice/patches/07_gcc4.3.patch
Petar Petrov df5b7aedb9 office/gbgoffice: Build fixes and miscellaneous cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-11 23:53:42 -05: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>