~ubuntu-branches/ubuntu/oneiric/inspircd/oneiric-security

« back to all changes in this revision

Viewing changes to debian/patches/04_gcc44_fixes.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith, Matt Arnold, Bradley Smith
  • Date: 2009-06-22 19:00:02 UTC
  • mfrom: (3.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090622190002-jppjv7zlff6ifw1q
Tags: 1.1.22+dfsg-4
[ Matt Arnold ]
* 03_use_pkg-config_gnutls.dpatch fix gnutls ftbfs Closes: 529823.
* Add pkg-config to build-depends
* Bump standards version no change
* 04_gcc44_fixes.dpatch fix ftbfs on GCC 4.4 Closes: #505368
  -- Patch thanks Martin Michlmayr

[ Bradley Smith ]
* Change section of inspircd-dbg to debug.
* Upgrade compat version to 7 and upgrade debhelper build-depends.
* Move dh_clean -k to dh_prep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 05_gcc44_fixes.dpatch by Matt Arnold <mattarnold5@gmail.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: No description.
 
6
 
 
7
@DPATCH@
 
8
diff -urNad inspircd-1.1.22+dfsg~/src/channels.cpp inspircd-1.1.22+dfsg/src/channels.cpp
 
9
--- inspircd-1.1.22+dfsg~/src/channels.cpp      2008-03-29 11:02:06.000000000 -0400
 
10
+++ inspircd-1.1.22+dfsg/src/channels.cpp       2009-06-21 17:39:01.000000000 -0400
 
11
@@ -18,6 +18,7 @@
 
12
 #include "modules.h"
 
13
 #include "wildcard.h"
 
14
 #include "mode.h"
 
15
+#include <cstdio>
 
16
 
 
17
 chanrec::chanrec(InspIRCd* Instance) : ServerInstance(Instance)
 
18
 {
 
19
diff -urNad inspircd-1.1.22+dfsg~/src/cmd_kill.cpp inspircd-1.1.22+dfsg/src/cmd_kill.cpp
 
20
--- inspircd-1.1.22+dfsg~/src/cmd_kill.cpp      2008-02-11 17:09:24.000000000 -0500
 
21
+++ inspircd-1.1.22+dfsg/src/cmd_kill.cpp       2009-06-21 17:39:48.000000000 -0400
 
22
@@ -17,6 +17,7 @@
 
23
 #include "modules.h"
 
24
 #include "wildcard.h"
 
25
 #include "commands/cmd_kill.h"
 
26
+#include <cstdio>
 
27
 
 
28
 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
 
29
 {
 
30
diff -urNad inspircd-1.1.22+dfsg~/src/cmd_oper.cpp inspircd-1.1.22+dfsg/src/cmd_oper.cpp
 
31
--- inspircd-1.1.22+dfsg~/src/cmd_oper.cpp      2008-01-10 08:45:53.000000000 -0500
 
32
+++ inspircd-1.1.22+dfsg/src/cmd_oper.cpp       2009-06-21 17:39:59.000000000 -0400
 
33
@@ -19,6 +19,7 @@
 
34
 #include "wildcard.h"
 
35
 #include "commands/cmd_oper.h"
 
36
 #include "hashcomp.h"
 
37
+#include <cstdio>
 
38
 
 
39
 bool OneOfMatches(const char* host, const char* ip, const char* hostlist)
 
40
 {
 
41
diff -urNad inspircd-1.1.22+dfsg~/src/cmd_stats.cpp inspircd-1.1.22+dfsg/src/cmd_stats.cpp
 
42
--- inspircd-1.1.22+dfsg~/src/cmd_stats.cpp     2008-01-10 08:45:53.000000000 -0500
 
43
+++ inspircd-1.1.22+dfsg/src/cmd_stats.cpp      2009-06-21 17:40:16.000000000 -0400
 
44
@@ -27,6 +27,7 @@
 
45
 #include "xline.h"
 
46
 #include "commands/cmd_stats.h"
 
47
 #include "commands/cmd_whowas.h"
 
48
+#include <cstdio>
 
49
 
 
50
 
 
51
 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
 
52
diff -urNad inspircd-1.1.22+dfsg~/src/cmd_time.cpp inspircd-1.1.22+dfsg/src/cmd_time.cpp
 
53
--- inspircd-1.1.22+dfsg~/src/cmd_time.cpp      2008-01-10 08:45:53.000000000 -0500
 
54
+++ inspircd-1.1.22+dfsg/src/cmd_time.cpp       2009-06-21 17:40:26.000000000 -0400
 
55
@@ -15,6 +15,7 @@
 
56
 #include "configreader.h"
 
57
 #include "users.h"
 
58
 #include "commands/cmd_time.h"
 
59
+#include <cstdio>
 
60
 
 
61
 
 
62
 
 
63
diff -urNad inspircd-1.1.22+dfsg~/src/command_parse.cpp inspircd-1.1.22+dfsg/src/command_parse.cpp
 
64
--- inspircd-1.1.22+dfsg~/src/command_parse.cpp 2008-11-02 00:18:52.000000000 -0400
 
65
+++ inspircd-1.1.22+dfsg/src/command_parse.cpp  2009-06-21 17:40:59.000000000 -0400
 
66
@@ -22,6 +22,7 @@
 
67
 #include "socket.h"
 
68
 #include "command_parse.h"
 
69
 #include "exitcodes.h"
 
70
+#include <cstdio>
 
71
 
 
72
 /* Directory Searching for Unix-Only */
 
73
 #ifndef WIN32
 
74
diff -urNad inspircd-1.1.22+dfsg~/src/dns.cpp inspircd-1.1.22+dfsg/src/dns.cpp
 
75
--- inspircd-1.1.22+dfsg~/src/dns.cpp   2008-03-15 14:02:21.000000000 -0400
 
76
+++ inspircd-1.1.22+dfsg/src/dns.cpp    2009-06-21 17:39:36.000000000 -0400
 
77
@@ -37,6 +37,7 @@
 
78
 #include "socketengine.h"
 
79
 #include "configreader.h"
 
80
 #include "socket.h"
 
81
+#include <cstdio>
 
82
 
 
83
 using irc::sockets::insp_inaddr;
 
84
 using irc::sockets::insp_ntoa;
 
85
diff -urNad inspircd-1.1.22+dfsg~/src/helperfuncs.cpp inspircd-1.1.22+dfsg/src/helperfuncs.cpp
 
86
--- inspircd-1.1.22+dfsg~/src/helperfuncs.cpp   2008-06-27 09:19:11.000000000 -0400
 
87
+++ inspircd-1.1.22+dfsg/src/helperfuncs.cpp    2009-06-21 17:40:46.000000000 -0400
 
88
@@ -20,6 +20,7 @@
 
89
 #include "mode.h"
 
90
 #include "xline.h"
 
91
 #include "exitcodes.h"
 
92
+#include <cstdio>
 
93
 
 
94
 static char TIMESTR[26];
 
95
 static time_t LAST = 0;
 
96
diff -urNad inspircd-1.1.22+dfsg~/src/mode.cpp inspircd-1.1.22+dfsg/src/mode.cpp
 
97
--- inspircd-1.1.22+dfsg~/src/mode.cpp  2008-04-21 14:12:50.000000000 -0400
 
98
+++ inspircd-1.1.22+dfsg/src/mode.cpp   2009-06-21 17:39:10.000000000 -0400
 
99
@@ -16,6 +16,7 @@
 
100
 #include "modules.h"
 
101
 #include "inspstring.h"
 
102
 #include "mode.h"
 
103
+#include <cstdio>
 
104
 
 
105
 /* +s (secret) */
 
106
 #include "modes/cmode_s.h"
 
107
diff -urNad inspircd-1.1.22+dfsg~/src/modes/cmode_b.cpp inspircd-1.1.22+dfsg/src/modes/cmode_b.cpp
 
108
--- inspircd-1.1.22+dfsg~/src/modes/cmode_b.cpp 2008-01-10 08:45:53.000000000 -0500
 
109
+++ inspircd-1.1.22+dfsg/src/modes/cmode_b.cpp  2009-06-21 17:38:11.000000000 -0400
 
110
@@ -24,6 +24,7 @@
 
111
 #include "inspstring.h"
 
112
 #include "hashcomp.h"
 
113
 #include "modes/cmode_b.h"
 
114
+#include <cstdio>
 
115
 
 
116
 ModeChannelBan::ModeChannelBan(InspIRCd* Instance) : ModeHandler(Instance, 'b', 1, 1, true, MODETYPE_CHANNEL, false)
 
117
 {
 
118
diff -urNad inspircd-1.1.22+dfsg~/src/modes/cmode_h.cpp inspircd-1.1.22+dfsg/src/modes/cmode_h.cpp
 
119
--- inspircd-1.1.22+dfsg~/src/modes/cmode_h.cpp 2008-01-10 08:45:53.000000000 -0500
 
120
+++ inspircd-1.1.22+dfsg/src/modes/cmode_h.cpp  2009-06-21 17:37:58.000000000 -0400
 
121
@@ -18,6 +18,7 @@
 
122
 #include "users.h"
 
123
 #include "modules.h"
 
124
 #include "modes/cmode_h.h"
 
125
+#include <cstdio>
 
126
 
 
127
 ModeChannelHalfOp::ModeChannelHalfOp(InspIRCd* Instance) : ModeHandler(Instance, 'h', 1, 1, true, MODETYPE_CHANNEL, false, '%')
 
128
 {
 
129
diff -urNad inspircd-1.1.22+dfsg~/src/modes/cmode_k.cpp inspircd-1.1.22+dfsg/src/modes/cmode_k.cpp
 
130
--- inspircd-1.1.22+dfsg~/src/modes/cmode_k.cpp 2008-01-10 08:45:53.000000000 -0500
 
131
+++ inspircd-1.1.22+dfsg/src/modes/cmode_k.cpp  2009-06-21 17:37:25.000000000 -0400
 
132
@@ -16,6 +16,7 @@
 
133
 #include "channels.h"
 
134
 #include "users.h"
 
135
 #include "modes/cmode_k.h"
 
136
+#include <cstdio>
 
137
 
 
138
 ModeChannelKey::ModeChannelKey(InspIRCd* Instance) : ModeHandler(Instance, 'k', 1, 1, false, MODETYPE_CHANNEL, false)
 
139
 {
 
140
diff -urNad inspircd-1.1.22+dfsg~/src/modes/cmode_o.cpp inspircd-1.1.22+dfsg/src/modes/cmode_o.cpp
 
141
--- inspircd-1.1.22+dfsg~/src/modes/cmode_o.cpp 2008-01-10 08:45:53.000000000 -0500
 
142
+++ inspircd-1.1.22+dfsg/src/modes/cmode_o.cpp  2009-06-21 17:37:15.000000000 -0400
 
143
@@ -18,6 +18,7 @@
 
144
 #include "users.h"
 
145
 #include "modules.h"
 
146
 #include "modes/cmode_o.h"
 
147
+#include <cstdio>
 
148
 
 
149
 ModeChannelOp::ModeChannelOp(InspIRCd* Instance) : ModeHandler(Instance, 'o', 1, 1, true, MODETYPE_CHANNEL, false, '@')
 
150
 {
 
151
diff -urNad inspircd-1.1.22+dfsg~/src/modes/cmode_v.cpp inspircd-1.1.22+dfsg/src/modes/cmode_v.cpp
 
152
--- inspircd-1.1.22+dfsg~/src/modes/cmode_v.cpp 2008-01-10 08:45:53.000000000 -0500
 
153
+++ inspircd-1.1.22+dfsg/src/modes/cmode_v.cpp  2009-06-21 17:36:58.000000000 -0400
 
154
@@ -18,6 +18,7 @@
 
155
 #include "users.h"
 
156
 #include "modules.h"
 
157
 #include "modes/cmode_v.h"
 
158
+#include <cstdio>
 
159
 
 
160
 ModeChannelVoice::ModeChannelVoice(InspIRCd* Instance) : ModeHandler(Instance, 'v', 1, 1, true, MODETYPE_CHANNEL, false, '+')
 
161
 {
 
162
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_cgiirc.cpp inspircd-1.1.22+dfsg/src/modules/m_cgiirc.cpp
 
163
--- inspircd-1.1.22+dfsg~/src/modules/m_cgiirc.cpp      2008-11-02 00:20:54.000000000 -0400
 
164
+++ inspircd-1.1.22+dfsg/src/modules/m_cgiirc.cpp       2009-06-21 17:33:53.000000000 -0400
 
165
@@ -16,6 +16,7 @@
 
166
 #include "modules.h"
 
167
 #include "xline.h"
 
168
 #include "dns.h"
 
169
+#include <cstdio>
 
170
 #ifndef WINDOWS
 
171
 #include <sys/socket.h>
 
172
 #include <netinet/in.h>
 
173
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_check.cpp inspircd-1.1.22+dfsg/src/modules/m_check.cpp
 
174
--- inspircd-1.1.22+dfsg~/src/modules/m_check.cpp       2008-01-10 08:45:53.000000000 -0500
 
175
+++ inspircd-1.1.22+dfsg/src/modules/m_check.cpp        2009-06-21 17:34:07.000000000 -0400
 
176
@@ -16,6 +16,7 @@
 
177
 #include "channels.h"
 
178
 #include "modules.h"
 
179
 #include "wildcard.h"
 
180
+#include <cstdio>
 
181
 
 
182
 /* $ModDesc: Provides the /check command to retrieve information on a user, channel, or IP address */
 
183
 
 
184
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_customtitle.cpp inspircd-1.1.22+dfsg/src/modules/m_customtitle.cpp
 
185
--- inspircd-1.1.22+dfsg~/src/modules/m_customtitle.cpp 2008-08-10 12:49:18.000000000 -0400
 
186
+++ inspircd-1.1.22+dfsg/src/modules/m_customtitle.cpp  2009-06-21 17:34:21.000000000 -0400
 
187
@@ -16,6 +16,7 @@
 
188
 #include "channels.h"
 
189
 #include "modules.h"
 
190
 #include "wildcard.h"
 
191
+#include <cstdio>
 
192
 
 
193
 /* $ModDesc: Provides the TITLE command which allows setting of CUSTOM WHOIS TITLE line */
 
194
 
 
195
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_dnsbl.cpp inspircd-1.1.22+dfsg/src/modules/m_dnsbl.cpp
 
196
--- inspircd-1.1.22+dfsg~/src/modules/m_dnsbl.cpp       2008-01-10 08:45:53.000000000 -0500
 
197
+++ inspircd-1.1.22+dfsg/src/modules/m_dnsbl.cpp        2009-06-21 17:35:29.000000000 -0400
 
198
@@ -17,6 +17,7 @@
 
199
 #include "users.h"
 
200
 #include "channels.h"
 
201
 #include "modules.h"
 
202
+#include <cstdio>
 
203
 
 
204
 #ifndef WINDOWS
 
205
 #include <sys/types.h>
 
206
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_ident.cpp inspircd-1.1.22+dfsg/src/modules/m_ident.cpp
 
207
--- inspircd-1.1.22+dfsg~/src/modules/m_ident.cpp       2008-08-27 15:00:21.000000000 -0400
 
208
+++ inspircd-1.1.22+dfsg/src/modules/m_ident.cpp        2009-06-21 17:35:41.000000000 -0400
 
209
@@ -15,6 +15,7 @@
 
210
 #include "users.h"
 
211
 #include "channels.h"
 
212
 #include "modules.h"
 
213
+#include <cstdio>
 
214
 
 
215
 using irc::sockets::NonBlocking;
 
216
 
 
217
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_invisible.cpp inspircd-1.1.22+dfsg/src/modules/m_invisible.cpp
 
218
--- inspircd-1.1.22+dfsg~/src/modules/m_invisible.cpp   2008-11-24 03:58:07.000000000 -0500
 
219
+++ inspircd-1.1.22+dfsg/src/modules/m_invisible.cpp    2009-06-21 17:35:52.000000000 -0400
 
220
@@ -16,6 +16,7 @@
 
221
 #include "channels.h"
 
222
 #include "modules.h"
 
223
 #include <stdarg.h>
 
224
+#include <cstdio>
 
225
 
 
226
 /* $ModDesc: Allows for opered clients to join channels without being seen, similar to unreal 3.1 +I mode */
 
227
 
 
228
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_messageflood.cpp inspircd-1.1.22+dfsg/src/modules/m_messageflood.cpp
 
229
--- inspircd-1.1.22+dfsg~/src/modules/m_messageflood.cpp        2008-04-06 08:05:34.000000000 -0400
 
230
+++ inspircd-1.1.22+dfsg/src/modules/m_messageflood.cpp 2009-06-21 17:36:04.000000000 -0400
 
231
@@ -15,6 +15,7 @@
 
232
 #include "users.h"
 
233
 #include "channels.h"
 
234
 #include "modules.h"
 
235
+#include <cstdio>
 
236
 
 
237
 /* $ModDesc: Provides channel mode +f (message flood protection) */
 
238
 
 
239
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_namesx.cpp inspircd-1.1.22+dfsg/src/modules/m_namesx.cpp
 
240
--- inspircd-1.1.22+dfsg~/src/modules/m_namesx.cpp      2008-04-03 18:34:40.000000000 -0400
 
241
+++ inspircd-1.1.22+dfsg/src/modules/m_namesx.cpp       2009-06-21 17:36:14.000000000 -0400
 
242
@@ -15,6 +15,7 @@
 
243
 #include "users.h"
 
244
 #include "channels.h"
 
245
 #include "modules.h"
 
246
+#include <cstdio>
 
247
 
 
248
 static const char* dummy = "ON";
 
249
 
 
250
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_safelist.cpp inspircd-1.1.22+dfsg/src/modules/m_safelist.cpp
 
251
--- inspircd-1.1.22+dfsg~/src/modules/m_safelist.cpp    2008-05-28 06:18:28.000000000 -0400
 
252
+++ inspircd-1.1.22+dfsg/src/modules/m_safelist.cpp     2009-06-21 17:36:23.000000000 -0400
 
253
@@ -16,6 +16,7 @@
 
254
 #include "channels.h"
 
255
 #include "modules.h"
 
256
 #include "wildcard.h"
 
257
+#include <cstdio>
 
258
 
 
259
 /** Holds a users m_safelist state
 
260
  */
 
261
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/main.cpp inspircd-1.1.22+dfsg/src/modules/m_spanningtree/main.cpp
 
262
--- inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/main.cpp   2008-09-11 12:33:56.000000000 -0400
 
263
+++ inspircd-1.1.22+dfsg/src/modules/m_spanningtree/main.cpp    2009-06-21 17:33:14.000000000 -0400
 
264
@@ -24,6 +24,7 @@
 
265
 #include "wildcard.h"
 
266
 #include "xline.h"
 
267
 #include "transport.h"
 
268
+#include <cstdio>
 
269
 
 
270
 #include "m_spanningtree/timesynctimer.h"
 
271
 #include "m_spanningtree/resolvers.h"
 
272
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/treesocket1.cpp inspircd-1.1.22+dfsg/src/modules/m_spanningtree/treesocket1.cpp
 
273
--- inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/treesocket1.cpp    2008-08-05 15:08:59.000000000 -0400
 
274
+++ inspircd-1.1.22+dfsg/src/modules/m_spanningtree/treesocket1.cpp     2009-06-21 17:33:28.000000000 -0400
 
275
@@ -24,6 +24,7 @@
 
276
 #include "transport.h"
 
277
 #include "m_hash.h"
 
278
 #include "socketengine.h"
 
279
+#include <cstdio>
 
280
 
 
281
 #include "m_spanningtree/main.h"
 
282
 #include "m_spanningtree/utils.h"
 
283
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/treesocket2.cpp inspircd-1.1.22+dfsg/src/modules/m_spanningtree/treesocket2.cpp
 
284
--- inspircd-1.1.22+dfsg~/src/modules/m_spanningtree/treesocket2.cpp    2008-11-27 18:22:59.000000000 -0500
 
285
+++ inspircd-1.1.22+dfsg/src/modules/m_spanningtree/treesocket2.cpp     2009-06-21 17:33:41.000000000 -0400
 
286
@@ -23,6 +23,7 @@
 
287
 #include "xline.h"
 
288
 #include "transport.h"
 
289
 #include "socketengine.h"
 
290
+#include <cstdio>
 
291
 
 
292
 #include "m_spanningtree/main.h"
 
293
 #include "m_spanningtree/utils.h"
 
294
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_spy.cpp inspircd-1.1.22+dfsg/src/modules/m_spy.cpp
 
295
--- inspircd-1.1.22+dfsg~/src/modules/m_spy.cpp 2008-01-10 08:45:53.000000000 -0500
 
296
+++ inspircd-1.1.22+dfsg/src/modules/m_spy.cpp  2009-06-21 17:36:36.000000000 -0400
 
297
@@ -23,6 +23,7 @@
 
298
 #include "channels.h"
 
299
 #include "modules.h"
 
300
 #include "wildcard.h"
 
301
+#include <cstdio>
 
302
 
 
303
 void spy_userlist(userrec *user, chanrec *c)
 
304
 {
 
305
diff -urNad inspircd-1.1.22+dfsg~/src/modules/m_tline.cpp inspircd-1.1.22+dfsg/src/modules/m_tline.cpp
 
306
--- inspircd-1.1.22+dfsg~/src/modules/m_tline.cpp       2008-01-10 08:45:53.000000000 -0500
 
307
+++ inspircd-1.1.22+dfsg/src/modules/m_tline.cpp        2009-06-21 17:36:47.000000000 -0400
 
308
@@ -16,6 +16,7 @@
 
309
 #include "channels.h"
 
310
 #include "modules.h"
 
311
 #include "wildcard.h"
 
312
+#include <cstdio>
 
313
 
 
314
 /* $ModDesc: Provides /tline command used to test who a mask matches */
 
315
 
 
316
diff -urNad inspircd-1.1.22+dfsg~/src/snomasks.cpp inspircd-1.1.22+dfsg/src/snomasks.cpp
 
317
--- inspircd-1.1.22+dfsg~/src/snomasks.cpp      2008-01-10 08:45:53.000000000 -0500
 
318
+++ inspircd-1.1.22+dfsg/src/snomasks.cpp       2009-06-21 17:41:10.000000000 -0400
 
319
@@ -16,6 +16,7 @@
 
320
 #include "configreader.h"
 
321
 #include "users.h"
 
322
 #include "snomasks.h"
 
323
+#include <cstdio>
 
324
 
 
325
 SnomaskManager::SnomaskManager(InspIRCd* Instance) : ServerInstance(Instance)
 
326
 {
 
327
diff -urNad inspircd-1.1.22+dfsg~/src/socketengine_epoll.cpp inspircd-1.1.22+dfsg/src/socketengine_epoll.cpp
 
328
--- inspircd-1.1.22+dfsg~/src/socketengine_epoll.cpp    2008-08-23 19:22:53.000000000 -0400
 
329
+++ inspircd-1.1.22+dfsg/src/socketengine_epoll.cpp     2009-06-21 17:38:50.000000000 -0400
 
330
@@ -15,6 +15,7 @@
 
331
 #include "exitcodes.h"
 
332
 #include <sys/epoll.h>
 
333
 #include "socketengine_epoll.h"
 
334
+#include <cstdio>
 
335
 
 
336
 EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance)
 
337
 {
 
338
diff -urNad inspircd-1.1.22+dfsg~/src/userprocess.cpp inspircd-1.1.22+dfsg/src/userprocess.cpp
 
339
--- inspircd-1.1.22+dfsg~/src/userprocess.cpp   2008-02-11 17:09:24.000000000 -0500
 
340
+++ inspircd-1.1.22+dfsg/src/userprocess.cpp    2009-06-21 17:38:23.000000000 -0400
 
341
@@ -19,6 +19,7 @@
 
342
 #include "xline.h"
 
343
 #include "socketengine.h"
 
344
 #include "command_parse.h"
 
345
+#include <cstdio>
 
346
 
 
347
 void InspIRCd::FloodQuitUser(userrec* current)
 
348
 {
 
349
diff -urNad inspircd-1.1.22+dfsg~/src/users.cpp inspircd-1.1.22+dfsg/src/users.cpp
 
350
--- inspircd-1.1.22+dfsg~/src/users.cpp 2008-10-28 19:47:33.000000000 -0400
 
351
+++ inspircd-1.1.22+dfsg/src/users.cpp  2009-06-21 17:40:35.000000000 -0400
 
352
@@ -20,6 +20,7 @@
 
353
 #include "wildcard.h"
 
354
 #include "xline.h"
 
355
 #include "commands/cmd_whowas.h"
 
356
+#include <cstdio>
 
357
 
 
358
 static unsigned long already_sent[MAX_DESCRIPTORS] = {0};
 
359
 
 
360
diff -urNad inspircd-1.1.22+dfsg~/src/xline.cpp inspircd-1.1.22+dfsg/src/xline.cpp
 
361
--- inspircd-1.1.22+dfsg~/src/xline.cpp 2008-02-11 08:22:46.000000000 -0500
 
362
+++ inspircd-1.1.22+dfsg/src/xline.cpp  2009-06-21 17:39:21.000000000 -0400
 
363
@@ -16,6 +16,7 @@
 
364
 #include "modules.h"
 
365
 #include "wildcard.h"
 
366
 #include "xline.h"
 
367
+#include <cstdio>
 
368
 
 
369
 /* Version two, now with optimized expiry!
 
370
  *