Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrent-0.8.4-gcc44.patch
Date: Wed, 04 Mar 2009 14:39:46
Message-Id: E1LesG9-0007m3-5N@stork.gentoo.org
1 loki_val 09/03/04 14:39:45
2
3 Added: rtorrent-0.8.4-gcc44.patch
4 Log:
5 Trivial gcc-4.4 fix, bug 257643. Thanks to Mike Mullen <mike@×××××××.net>.
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-p2p/rtorrent/files/rtorrent-0.8.4-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrent-0.8.4-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrent-0.8.4-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: rtorrent-0.8.4-gcc44.patch
15 ===================================================================
16 diff -Nurp rtorrent-0.8.4.old/src/rpc/scgi_task.cc rtorrent-0.8.4/src/rpc/scgi_task.cc
17 --- rtorrent-0.8.4.old/src/rpc/scgi_task.cc 2008-05-07 07:19:10.000000000 -0500
18 +++ rtorrent-0.8.4/src/rpc/scgi_task.cc 2009-02-04 10:23:31.000000000 -0600
19 @@ -36,6 +36,8 @@
20
21 #include "config.h"
22
23 +#include <cstdio>
24 +
25 #include <rak/error_number.h>
26 #include <sys/types.h>
27 #include <sys/socket.h>
28
29
30 diff -Nurp rtorrent-0.8.4.old/src/command_peer.cc rtorrent-0.8.4/src/command_peer.cc
31 --- rtorrent-0.8.4.old/src/command_peer.cc 2008-05-07 07:19:11.000000000 -0500
32 +++ rtorrent-0.8.4/src/command_peer.cc 2009-02-04 10:26:53.000000000 -0600
33 @@ -36,6 +36,8 @@
34
35 #include "config.h"
36
37 +#include <cstdio>
38 +
39 #include <rak/error_number.h>
40 #include <rak/path.h>
41 #include <rak/socket_address.h>
42
43
44
45 diff -Nurp rtorrent-0.8.4.old/src/display/utils.cc rtorrent-0.8.4/src/display/utils.cc
46 --- rtorrent-0.8.4.old/src/display/utils.cc 2008-08-27 03:25:01.000000000 -0500
47 +++ rtorrent-0.8.4/src/display/utils.cc 2009-02-04 10:20:34.000000000 -0600
48 @@ -36,6 +36,7 @@
49
50 #include "config.h"
51
52 +#include <cstdio>
53 #include <cstring>
54 #include <sstream>
55 #include <iomanip>
56
57
58 diff -Nurp rtorrent-0.8.4.old/src/rpc/parse.cc rtorrent-0.8.4/src/rpc/parse.cc
59 --- rtorrent-0.8.4.old/src/rpc/parse.cc 2008-08-26 15:14:33.000000000 -0500
60 +++ rtorrent-0.8.4/src/rpc/parse.cc 2009-02-04 10:23:06.000000000 -0600
61 @@ -37,6 +37,7 @@
62 #include "config.h"
63
64 #include <cstring>
65 +#include <cstdio>
66 #include <locale>
67 #include <rak/path.h>
68 #include <torrent/exceptions.h>
69
70 diff -Nurp rtorrent-0.8.4.old/src/utils/lockfile.cc rtorrent-0.8.4/src/utils/lockfile.cc
71 --- rtorrent-0.8.4.old/src/utils/lockfile.cc 2008-05-07 07:19:11.000000000 -0500
72 +++ rtorrent-0.8.4/src/utils/lockfile.cc 2009-02-04 10:25:10.000000000 -0600
73 @@ -40,6 +40,7 @@
74 #include <cctype>
75 #include <cerrno>
76 #include <cstring>
77 +#include <cstdio>
78 #include <sstream>
79 #include <fcntl.h>
80 #include <signal.h>
81
82 diff -Nurp rtorrent-0.8.4.old/src/command_download.cc rtorrent-0.8.4/src/command_download.cc
83 --- rtorrent-0.8.4.old/src/command_download.cc 2008-11-19 11:01:20.000000000 -0600
84 +++ rtorrent-0.8.4/src/command_download.cc 2009-02-04 10:25:32.000000000 -0600
85 @@ -36,6 +36,8 @@
86
87 #include "config.h"
88
89 +#include <cstdio>
90 +
91 #include <functional>
92 #include <unistd.h>
93 #include <rak/file_stat.h>
94
95
96 diff -Nurp rtorrent-0.8.4.old/src/command_events.cc rtorrent-0.8.4/src/command_events.cc
97 --- rtorrent-0.8.4.old/src/command_events.cc 2008-11-11 04:37:20.000000000 -0600
98 +++ rtorrent-0.8.4/src/command_events.cc 2009-02-04 10:25:58.000000000 -0600
99 @@ -36,6 +36,8 @@
100
101 #include "config.h"
102
103 +#include <cstdio>
104 +
105 #include <functional>
106 #include <rak/file_stat.h>
107 #include <rak/path.h>
108
109 diff -Nurp rtorrent-0.8.4.old/src/command_network.cc rtorrent-0.8.4/src/command_network.cc
110 --- rtorrent-0.8.4.old/src/command_network.cc 2008-08-27 03:25:01.000000000 -0500
111 +++ rtorrent-0.8.4/src/command_network.cc 2009-02-04 10:26:22.000000000 -0600
112 @@ -36,6 +36,8 @@
113
114 #include "config.h"
115
116 +#include <cstdio>
117 +
118 #include <functional>
119 #include <rak/address_info.h>
120 #include <rak/path.h>