diff options
author | Stanislav Ochotnicky <sochotnicky@gentoo.org> | 2011-04-13 21:30:47 +0000 |
---|---|---|
committer | Stanislav Ochotnicky <sochotnicky@gentoo.org> | 2011-04-13 21:30:47 +0000 |
commit | e83b7e351e1397982f602066e1e54d837ab069df (patch) | |
tree | af7f2192081d755b4a570b139c7515b766733e75 /net-libs/libtorrent/files | |
parent | Add semantic-desktop useflag, bug 362695 (diff) | |
download | historical-e83b7e351e1397982f602066e1e54d837ab069df.tar.gz historical-e83b7e351e1397982f602066e1e54d837ab069df.tar.bz2 historical-e83b7e351e1397982f602066e1e54d837ab069df.zip |
Fix compilation with gcc 4.6.0
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libtorrent/files')
-rw-r--r-- | net-libs/libtorrent/files/libtorrent-0.12.7-gcc-4.6.0.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-libs/libtorrent/files/libtorrent-0.12.7-gcc-4.6.0.patch b/net-libs/libtorrent/files/libtorrent-0.12.7-gcc-4.6.0.patch new file mode 100644 index 000000000000..c998c6441157 --- /dev/null +++ b/net-libs/libtorrent/files/libtorrent-0.12.7-gcc-4.6.0.patch @@ -0,0 +1,24 @@ +diff --git a/src/data/memory_chunk.h b/src/data/memory_chunk.h +index af71842..64d535e 100644 +--- a/src/data/memory_chunk.h ++++ b/src/data/memory_chunk.h +@@ -40,6 +40,7 @@ + #include <algorithm> + #include <inttypes.h> + #include <sys/mman.h> ++#include <cstddef> + + namespace torrent { + +diff --git a/src/torrent/common.h b/src/torrent/common.h +index 4ed250f..b7d7b7b 100644 +--- a/src/torrent/common.h ++++ b/src/torrent/common.h +@@ -38,6 +38,7 @@ + #define LIBTORRENT_COMMON_H + + #include <inttypes.h> ++#include <cstddef> + + struct sockaddr; + |