summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch')
-rw-r--r--app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch b/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch
new file mode 100644
index 000000000000..1a5392d97f0b
--- /dev/null
+++ b/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch
@@ -0,0 +1,25 @@
+--- src/symboltable.cc
++++ src/symboltable.cc
+@@ -11,8 +11,11 @@
+ #include <string>
+ #include <map>
+ #include <cstdlib> // For malloc() and friends
++#include <cstring> // For strlen() and friends
+ #include "symboltable.h"
+
++using namespace std;
++
+ static char *make_c_string(const string &s);
+
+ map<string,string> table; /* XXX - Is this going to cause problems on
+--- src/symboltable.h
++++ src/symboltable.h
+@@ -26,7 +26,7 @@
+ /* Initialize the symbol table based on the
+ * arguments. */
+ #ifdef __cplusplus
+-};
++}
+ #endif /* __cplusplus */
+
+ /* This is for Emacs's benefit: