diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-14 11:59:50 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-14 11:59:50 +0000 |
commit | 280b2f6fcf5ab381ff42e94488489f485b23560e (patch) | |
tree | 3d24b0db41a2b490ac93aef21b1c0d31718e29c3 /dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch | |
parent | clean up (diff) | |
download | gentoo-2-280b2f6fcf5ab381ff42e94488489f485b23560e.tar.gz gentoo-2-280b2f6fcf5ab381ff42e94488489f485b23560e.tar.bz2 gentoo-2-280b2f6fcf5ab381ff42e94488489f485b23560e.zip |
Added patch to fix compilation problems with gcc-4.3 (bug #218547 thanks to Holger Ackermann)
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch')
-rw-r--r-- | dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch b/dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch new file mode 100644 index 000000000000..24fad40ee69c --- /dev/null +++ b/dev-libs/libpqxx/files/libpqxx-2.6.9-gcc43.patch @@ -0,0 +1,56 @@ +diff -ub ./libpqxx-2.6.9-orig/src/binarystring.cxx ./libpqxx-2.6.9/src/binarystring.cxx +--- ./libpqxx-2.6.9-orig/src/binarystring.cxx 2008-04-16 19:52:13.000000000 +0200 ++++ ./libpqxx-2.6.9/src/binarystring.cxx 2008-04-16 19:52:39.000000000 +0200 +@@ -18,6 +18,7 @@ + + #include <new> + #include <stdexcept> ++#include <cstring> + + #include "libpq-fe.h" + +diff -ub ./libpqxx-2.6.9-orig/src/connection_base.cxx ./libpqxx-2.6.9/src/connection_base.cxx +--- ./libpqxx-2.6.9-orig/src/connection_base.cxx 2008-04-16 19:52:13.000000000 +0200 ++++ ./libpqxx-2.6.9/src/connection_base.cxx 2008-04-16 19:53:10.000000000 +0200 +@@ -22,6 +22,7 @@ + #include <cerrno> + #include <cstdio> + #include <ctime> ++#include <cstring> + #include <stdexcept> + + #ifdef PQXX_HAVE_SYS_SELECT_H +diff -ub ./libpqxx-2.6.9-orig/src/cursor.cxx ./libpqxx-2.6.9/src/cursor.cxx +--- ./libpqxx-2.6.9-orig/src/cursor.cxx 2008-04-16 19:52:13.000000000 +0200 ++++ ./libpqxx-2.6.9/src/cursor.cxx 2008-04-16 19:53:30.000000000 +0200 +@@ -17,6 +17,7 @@ + */ + #include "pqxx/compiler-internal.hxx" + ++#include <cstring> + #include <cstdlib> + + #include "pqxx/cursor" +diff -ub ./libpqxx-2.6.9-orig/src/result.cxx ./libpqxx-2.6.9/src/result.cxx +--- ./libpqxx-2.6.9-orig/src/result.cxx 2008-04-16 19:52:13.000000000 +0200 ++++ ./libpqxx-2.6.9/src/result.cxx 2008-04-16 19:54:02.000000000 +0200 +@@ -18,6 +18,8 @@ + #include "pqxx/compiler-internal.hxx" + + #include <stdexcept> ++#include <cstring> ++#include <cstdlib> + + #include "libpq-fe.h" + +diff -ub ./libpqxx-2.6.9-orig/src/transaction_base.cxx ./libpqxx-2.6.9/src/transaction_base.cxx +--- ./libpqxx-2.6.9-orig/src/transaction_base.cxx 2008-04-16 19:52:13.000000000 +0200 ++++ ./libpqxx-2.6.9/src/transaction_base.cxx 2008-04-16 19:54:20.000000000 +0200 +@@ -19,6 +19,7 @@ + #include "pqxx/compiler-internal.hxx" + + #include <stdexcept> ++#include <cstring> + + #include "pqxx/connection_base" + #include "pqxx/result" |