diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-21 14:33:40 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-21 14:33:40 +0000 |
commit | 9cd0e6ea247b1a1873a467263153ee305640fde2 (patch) | |
tree | c9997c659e702c577828a0be4151c6d59b09c535 /net-libs/libtorrent/files | |
parent | Fixed pkgconfig dep in old version. (diff) | |
download | historical-9cd0e6ea247b1a1873a467263153ee305640fde2.tar.gz historical-9cd0e6ea247b1a1873a467263153ee305640fde2.tar.bz2 historical-9cd0e6ea247b1a1873a467263153ee305640fde2.zip |
Add patch to fix building with GCC 4.3 (taken from Debian). Closes bug #212824.
Package-Manager: portage-2.1.5_rc5
Diffstat (limited to 'net-libs/libtorrent/files')
-rw-r--r-- | net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch b/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch new file mode 100644 index 000000000000..d7343c81ab03 --- /dev/null +++ b/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch @@ -0,0 +1,72 @@ +--- libtorrent-0.11.9.orig/src/data/chunk.cc ++++ libtorrent-0.11.9/src/data/chunk.cc +@@ -38,6 +38,7 @@ + + #include <algorithm> + #include <functional> ++#include <cstring> + + #include "torrent/exceptions.h" + +--- libtorrent-0.11.9.orig/src/data/chunk_list.h ++++ libtorrent-0.11.9/src/data/chunk_list.h +@@ -38,6 +38,7 @@ + #define LIBTORRENT_DATA_CHUNK_LIST_H + + #include <vector> ++#include <string> + #include <rak/error_number.h> + #include <rak/functional.h> + +--- libtorrent-0.11.9.orig/src/net/address_list.cc ++++ libtorrent-0.11.9/src/net/address_list.cc +@@ -38,6 +38,8 @@ + + #include <rak/functional.h> + ++#include <algorithm> ++ + #include "download/download_info.h" // for SocketAddressCompact + + #include "address_list.h" +--- libtorrent-0.11.9.orig/src/torrent/exceptions.cc ++++ libtorrent-0.11.9/src/torrent/exceptions.cc +@@ -37,6 +37,7 @@ + #include "config.h" + + #include <cerrno> ++#include <cstring> + + #include "exceptions.h" + +--- libtorrent-0.11.9.orig/src/torrent/data/file_list_iterator.h ++++ libtorrent-0.11.9/src/torrent/data/file_list_iterator.h +@@ -40,6 +40,8 @@ + #include <torrent/common.h> + #include <torrent/data/file_list.h> + ++#include <cstdlib> ++ + namespace torrent { + + class File; +--- libtorrent-0.11.9.orig/src/utils/diffie_hellman.cc ++++ libtorrent-0.11.9/src/utils/diffie_hellman.cc +@@ -37,6 +37,7 @@ + #include "config.h" + + #include <string> ++#include <cstring> + + #ifdef USE_OPENSSL + #include <openssl/bn.h> +--- libtorrent-0.11.9.orig/rak/functional.h ++++ libtorrent-0.11.9/rak/functional.h +@@ -37,6 +37,7 @@ + #ifndef RAK_FUNCTIONAL_H + #define RAK_FUNCTIONAL_H + ++#include <cstdlib> + #include <functional> + + namespace rak { |