diff options
Diffstat (limited to 'net-mail/bincimap/files/bincimap-1.2-gcc43.patch')
-rw-r--r-- | net-mail/bincimap/files/bincimap-1.2-gcc43.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/net-mail/bincimap/files/bincimap-1.2-gcc43.patch b/net-mail/bincimap/files/bincimap-1.2-gcc43.patch new file mode 100644 index 000000000000..76cb3a96d6b5 --- /dev/null +++ b/net-mail/bincimap/files/bincimap-1.2-gcc43.patch @@ -0,0 +1,64 @@ +diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc +--- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100 ++++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200 +@@ -37,10 +37,12 @@ + + #include "convert.h" + #include "io.h" + #include <string> + ++#include <cstring> ++ + using namespace ::std; + using namespace Binc; + + //------------------------------------------------------------------------ + BincStream::BincStream(void) +diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h +--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100 ++++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200 +@@ -35,10 +35,11 @@ + #include <config.h> + #endif + + #ifndef convert_h_included + #define convert_h_included ++#include <cstdlib> + #include <string> + #include <vector> + #include <iomanip> + #include <iostream> + +@@ -46,10 +47,12 @@ + #include <sys/stat.h> + + #include "address.h" + #include "depot.h" + ++#include <cstring> ++ + namespace Binc { + + //---------------------------------------------------------------------- + inline std::string toString(int i_in) + { +diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc +--- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100 ++++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200 +@@ -33,13 +33,16 @@ + */ + #ifdef HAVE_CONFIG_H + #include <config.h> + #endif + #include <errno.h> ++#include <cstdlib> + + #include "tools.h" + ++#include <cstring> ++ + using namespace ::std; + using namespace Binc; + + //------------------------------------------------------------------------ + Tools::Tools(void) |