From c29d9ab455006ebc803a3ff9f7a5da138280700c Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Wed, 13 Apr 2011 21:30:47 +0000 Subject: Fix compilation with gcc 4.6.0 (Portage version: 2.1.9.42/cvs/Linux x86_64) --- .../files/libtorrent-0.12.7-gcc-4.6.0.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net-libs/libtorrent/files/libtorrent-0.12.7-gcc-4.6.0.patch (limited to 'net-libs/libtorrent/files') 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 + #include + #include ++#include + + 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 ++#include + + struct sockaddr; + -- cgit v1.2.3-65-gdbad