Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent/files: libtorrent-0.11.9+gcc-4.3.patch
Date: Mon, 21 Apr 2008 14:33:43
Message-Id: E1Jnx5Q-0007Wc-Rb@stork.gentoo.org
1 flameeyes 08/04/21 14:33:40
2
3 Added: libtorrent-0.11.9+gcc-4.3.patch
4 Log:
5 Add patch to fix building with GCC 4.3 (taken from Debian). Closes bug #212824.
6 (Portage version: 2.1.5_rc5)
7
8 Revision Changes Path
9 1.1 net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch?rev=1.1&content-type=text/plain
13
14 Index: libtorrent-0.11.9+gcc-4.3.patch
15 ===================================================================
16 --- libtorrent-0.11.9.orig/src/data/chunk.cc
17 +++ libtorrent-0.11.9/src/data/chunk.cc
18 @@ -38,6 +38,7 @@
19
20 #include <algorithm>
21 #include <functional>
22 +#include <cstring>
23
24 #include "torrent/exceptions.h"
25
26 --- libtorrent-0.11.9.orig/src/data/chunk_list.h
27 +++ libtorrent-0.11.9/src/data/chunk_list.h
28 @@ -38,6 +38,7 @@
29 #define LIBTORRENT_DATA_CHUNK_LIST_H
30
31 #include <vector>
32 +#include <string>
33 #include <rak/error_number.h>
34 #include <rak/functional.h>
35
36 --- libtorrent-0.11.9.orig/src/net/address_list.cc
37 +++ libtorrent-0.11.9/src/net/address_list.cc
38 @@ -38,6 +38,8 @@
39
40 #include <rak/functional.h>
41
42 +#include <algorithm>
43 +
44 #include "download/download_info.h" // for SocketAddressCompact
45
46 #include "address_list.h"
47 --- libtorrent-0.11.9.orig/src/torrent/exceptions.cc
48 +++ libtorrent-0.11.9/src/torrent/exceptions.cc
49 @@ -37,6 +37,7 @@
50 #include "config.h"
51
52 #include <cerrno>
53 +#include <cstring>
54
55 #include "exceptions.h"
56
57 --- libtorrent-0.11.9.orig/src/torrent/data/file_list_iterator.h
58 +++ libtorrent-0.11.9/src/torrent/data/file_list_iterator.h
59 @@ -40,6 +40,8 @@
60 #include <torrent/common.h>
61 #include <torrent/data/file_list.h>
62
63 +#include <cstdlib>
64 +
65 namespace torrent {
66
67 class File;
68 --- libtorrent-0.11.9.orig/src/utils/diffie_hellman.cc
69 +++ libtorrent-0.11.9/src/utils/diffie_hellman.cc
70 @@ -37,6 +37,7 @@
71 #include "config.h"
72
73 #include <string>
74 +#include <cstring>
75
76 #ifdef USE_OPENSSL
77 #include <openssl/bn.h>
78 --- libtorrent-0.11.9.orig/rak/functional.h
79 +++ libtorrent-0.11.9/rak/functional.h
80 @@ -37,6 +37,7 @@
81 #ifndef RAK_FUNCTIONAL_H
82 #define RAK_FUNCTIONAL_H
83
84 +#include <cstdlib>
85 #include <functional>
86
87 namespace rak {
88
89
90
91 --
92 gentoo-commits@l.g.o mailing list