diff options
author | 2008-06-18 19:02:56 +0000 | |
---|---|---|
committer | 2008-06-18 19:02:56 +0000 | |
commit | 1c87c4b645fa8c3e619a42239778738af5718ef7 (patch) | |
tree | cf33d27a893f5db2ef0812b15ee3cb3b04204526 /dev-cpp/litesql/files | |
parent | Fix gcc-4.3/glibc-2.8 compilation problems (diff) | |
download | sunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.tar.gz sunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.tar.bz2 sunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.zip |
Fix gcc-4.3/glibc-2.8 compilation problems
svn path=/sunrise/; revision=6340
Diffstat (limited to 'dev-cpp/litesql/files')
-rw-r--r-- | dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch b/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch new file mode 100644 index 000000000..76dd55eb4 --- /dev/null +++ b/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch @@ -0,0 +1,37 @@ +diff -Naur litesql-0.3.2.orig/src/library/field.cpp litesql-0.3.2/src/library/field.cpp +--- litesql-0.3.2.orig/src/library/field.cpp 2008-06-18 18:54:42.000000000 +0200 ++++ litesql-0.3.2/src/library/field.cpp 2008-06-18 18:59:39.000000000 +0200 +@@ -5,6 +5,8 @@ + * See LICENSE for copyright information. */ + #include "compatibility.hpp" + #include "litesql.hpp" ++#include <cstdlib> ++ + namespace litesql { + using namespace std; + In FieldType::in(const string& set) const { +diff -Naur litesql-0.3.2.orig/src/library/split.cpp litesql-0.3.2/src/library/split.cpp +--- litesql-0.3.2.orig/src/library/split.cpp 2008-06-18 18:54:42.000000000 +0200 ++++ litesql-0.3.2/src/library/split.cpp 2008-06-18 18:55:10.000000000 +0200 +@@ -6,8 +6,9 @@ + #include "compatibility.hpp" + #include "litesql/split.hpp" + #include <string> +-#include <string.h> + #include <cstring> ++#include <cstring> ++#include <cstdlib> + + namespace litesql { + using namespace std; +diff -Naur litesql-0.3.2.orig/src/library/string.cpp litesql-0.3.2/src/library/string.cpp +--- litesql-0.3.2.orig/src/library/string.cpp 2008-06-18 18:54:42.000000000 +0200 ++++ litesql-0.3.2/src/library/string.cpp 2008-06-18 18:58:30.000000000 +0200 +@@ -8,6 +8,7 @@ + #include "litesql/utils.hpp" + #include "litesql/field.hpp" + #include <ctype.h> ++#include <cstdlib> + + namespace litesql { + using namespace std; |