1 |
flameeyes 08/04/27 12:54:15 |
2 |
|
3 |
Modified: libtorrent-0.11.9+gcc-4.3.patch |
4 |
Log: |
5 |
Update patch with the one from Philipp in bug #212824. |
6 |
(Portage version: 2.1.5_rc6) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 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.2&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.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: libtorrent-0.11.9+gcc-4.3.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/files/libtorrent-0.11.9+gcc-4.3.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- libtorrent-0.11.9+gcc-4.3.patch 21 Apr 2008 14:33:40 -0000 1.1 |
22 |
+++ libtorrent-0.11.9+gcc-4.3.patch 27 Apr 2008 12:54:14 -0000 1.2 |
23 |
@@ -1,15 +1,28 @@ |
24 |
---- libtorrent-0.11.9.orig/src/data/chunk.cc |
25 |
-+++ libtorrent-0.11.9/src/data/chunk.cc |
26 |
-@@ -38,6 +38,7 @@ |
27 |
+diff -Nurp libtorrent-0.12.0.old/rak/functional.h libtorrent-0.12.0/rak/functional.h |
28 |
+--- libtorrent-0.12.0.old/rak/functional.h 2008-03-09 15:59:49.000000000 +0100 |
29 |
++++ libtorrent-0.12.0/rak/functional.h 2008-03-09 16:00:11.000000000 +0100 |
30 |
+@@ -37,6 +37,7 @@ |
31 |
+ #ifndef RAK_FUNCTIONAL_H |
32 |
+ #define RAK_FUNCTIONAL_H |
33 |
|
34 |
- #include <algorithm> |
35 |
++#include <cstddef> |
36 |
#include <functional> |
37 |
-+#include <cstring> |
38 |
|
39 |
- #include "torrent/exceptions.h" |
40 |
+ namespace rak { |
41 |
+diff -Nurp libtorrent-0.12.0.old/src/data/chunk.cc libtorrent-0.12.0/src/data/chunk.cc |
42 |
+--- libtorrent-0.12.0.old/src/data/chunk.cc 2008-03-09 15:59:49.000000000 +0100 |
43 |
++++ libtorrent-0.12.0/src/data/chunk.cc 2008-03-09 16:00:11.000000000 +0100 |
44 |
+@@ -36,6 +36,7 @@ |
45 |
+ |
46 |
+ #include "config.h" |
47 |
|
48 |
---- libtorrent-0.11.9.orig/src/data/chunk_list.h |
49 |
-+++ libtorrent-0.11.9/src/data/chunk_list.h |
50 |
++#include <cstring> |
51 |
+ #include <algorithm> |
52 |
+ #include <functional> |
53 |
+ |
54 |
+diff -Nurp libtorrent-0.12.0.old/src/data/chunk_list.h libtorrent-0.12.0/src/data/chunk_list.h |
55 |
+--- libtorrent-0.12.0.old/src/data/chunk_list.h 2008-03-09 15:59:49.000000000 +0100 |
56 |
++++ libtorrent-0.12.0/src/data/chunk_list.h 2008-03-09 16:00:11.000000000 +0100 |
57 |
@@ -38,6 +38,7 @@ |
58 |
#define LIBTORRENT_DATA_CHUNK_LIST_H |
59 |
|
60 |
@@ -18,19 +31,32 @@ |
61 |
#include <rak/error_number.h> |
62 |
#include <rak/functional.h> |
63 |
|
64 |
---- libtorrent-0.11.9.orig/src/net/address_list.cc |
65 |
-+++ libtorrent-0.11.9/src/net/address_list.cc |
66 |
-@@ -38,6 +38,8 @@ |
67 |
+diff -Nurp libtorrent-0.12.0.old/src/net/address_list.cc libtorrent-0.12.0/src/net/address_list.cc |
68 |
+--- libtorrent-0.12.0.old/src/net/address_list.cc 2008-03-09 15:59:49.000000000 +0100 |
69 |
++++ libtorrent-0.12.0/src/net/address_list.cc 2008-03-09 16:00:11.000000000 +0100 |
70 |
+@@ -36,6 +36,8 @@ |
71 |
|
72 |
- #include <rak/functional.h> |
73 |
+ #include "config.h" |
74 |
|
75 |
+#include <algorithm> |
76 |
+ |
77 |
+ #include <rak/functional.h> |
78 |
+ |
79 |
#include "download/download_info.h" // for SocketAddressCompact |
80 |
+diff -Nurp libtorrent-0.12.0.old/src/torrent/data/file_list_iterator.h libtorrent-0.12.0/src/torrent/data/file_list_iterator.h |
81 |
+--- libtorrent-0.12.0.old/src/torrent/data/file_list_iterator.h 2008-03-09 15:59:49.000000000 +0100 |
82 |
++++ libtorrent-0.12.0/src/torrent/data/file_list_iterator.h 2008-03-09 16:00:11.000000000 +0100 |
83 |
+@@ -37,6 +37,7 @@ |
84 |
+ #ifndef LIBTORRENT_FILE_LIST_ITERATOR_H |
85 |
+ #define LIBTORRENT_FILE_LIST_ITERATOR_H |
86 |
|
87 |
- #include "address_list.h" |
88 |
---- libtorrent-0.11.9.orig/src/torrent/exceptions.cc |
89 |
-+++ libtorrent-0.11.9/src/torrent/exceptions.cc |
90 |
++#include <cstdlib> |
91 |
+ #include <torrent/common.h> |
92 |
+ #include <torrent/data/file_list.h> |
93 |
+ |
94 |
+diff -Nurp libtorrent-0.12.0.old/src/torrent/exceptions.cc libtorrent-0.12.0/src/torrent/exceptions.cc |
95 |
+--- libtorrent-0.12.0.old/src/torrent/exceptions.cc 2008-03-09 15:59:49.000000000 +0100 |
96 |
++++ libtorrent-0.12.0/src/torrent/exceptions.cc 2008-03-09 16:00:11.000000000 +0100 |
97 |
@@ -37,6 +37,7 @@ |
98 |
#include "config.h" |
99 |
|
100 |
@@ -39,34 +65,25 @@ |
101 |
|
102 |
#include "exceptions.h" |
103 |
|
104 |
---- libtorrent-0.11.9.orig/src/torrent/data/file_list_iterator.h |
105 |
-+++ libtorrent-0.11.9/src/torrent/data/file_list_iterator.h |
106 |
-@@ -40,6 +40,8 @@ |
107 |
+diff -Nurp libtorrent-0.12.0.old/src/torrent/tracker_list.h libtorrent-0.12.0/src/torrent/tracker_list.h |
108 |
+--- libtorrent-0.12.0.old/src/torrent/tracker_list.h 2008-03-09 15:59:49.000000000 +0100 |
109 |
++++ libtorrent-0.12.0/src/torrent/tracker_list.h 2008-03-09 16:01:01.000000000 +0100 |
110 |
+@@ -38,6 +38,7 @@ |
111 |
+ #define LIBTORRENT_TRACKER_LIST_H |
112 |
+ |
113 |
+ #include <algorithm> |
114 |
++#include <string> |
115 |
+ #include <vector> |
116 |
#include <torrent/common.h> |
117 |
- #include <torrent/data/file_list.h> |
118 |
|
119 |
-+#include <cstdlib> |
120 |
-+ |
121 |
- namespace torrent { |
122 |
+diff -Nurp libtorrent-0.12.0.old/src/utils/diffie_hellman.cc libtorrent-0.12.0/src/utils/diffie_hellman.cc |
123 |
+--- libtorrent-0.12.0.old/src/utils/diffie_hellman.cc 2008-03-09 15:59:49.000000000 +0100 |
124 |
++++ libtorrent-0.12.0/src/utils/diffie_hellman.cc 2008-03-09 16:00:11.000000000 +0100 |
125 |
+@@ -36,6 +36,7 @@ |
126 |
|
127 |
- class File; |
128 |
---- libtorrent-0.11.9.orig/src/utils/diffie_hellman.cc |
129 |
-+++ libtorrent-0.11.9/src/utils/diffie_hellman.cc |
130 |
-@@ -37,6 +37,7 @@ |
131 |
#include "config.h" |
132 |
|
133 |
- #include <string> |
134 |
+#include <cstring> |
135 |
+ #include <string> |
136 |
|
137 |
#ifdef USE_OPENSSL |
138 |
- #include <openssl/bn.h> |
139 |
---- libtorrent-0.11.9.orig/rak/functional.h |
140 |
-+++ libtorrent-0.11.9/rak/functional.h |
141 |
-@@ -37,6 +37,7 @@ |
142 |
- #ifndef RAK_FUNCTIONAL_H |
143 |
- #define RAK_FUNCTIONAL_H |
144 |
- |
145 |
-+#include <cstdlib> |
146 |
- #include <functional> |
147 |
- |
148 |
- namespace rak { |
149 |
|
150 |
|
151 |
|
152 |
-- |
153 |
gentoo-commits@l.g.o mailing list |