updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / spamprobe / spamprobe-gcc43.patch
blob02c46cf829a75967e123df7d8855b0736fe62771
1 --- src/spamprobe/Command_exec.cc
2 +++ src/spamprobe/Command_exec.cc
3 @@ -28,6 +28,7 @@
4 // http://www.cooldevtools.com/qpl.html
5 //
7 +#include <cstdlib>
8 #include "SpamFilter.h"
9 #include "CommandConfig.h"
10 #include "ConfigManager.h"
11 --- src/spamprobe/Command_edit_term.cc
12 +++ src/spamprobe/Command_edit_term.cc
13 @@ -28,6 +28,7 @@
14 // http://www.cooldevtools.com/qpl.html
17 +#include <cstdlib>
18 #include "SpamFilter.h"
19 #include "FrequencyDB.h"
20 #include "CommandConfig.h"
21 --- src/spamprobe/Command_cleanup.cc
22 +++ src/spamprobe/Command_cleanup.cc
23 @@ -28,6 +28,7 @@
24 // http://www.cooldevtools.com/qpl.html
27 +#include <cstdlib>
28 #include "CleanupManager.h"
29 #include "SpamFilter.h"
30 #include "FrequencyDB.h"
31 --- src/spamprobe/spamprobe.cc
32 +++ src/spamprobe/spamprobe.cc
33 @@ -28,6 +28,7 @@
34 // http://www.cooldevtools.com/qpl.html
37 +#include <cstdlib>
38 #include <unistd.h>
39 #include <locale.h>
40 #include <signal.h>
41 --- src/spamprobe/Command_purge.cc
42 +++ src/spamprobe/Command_purge.cc
43 @@ -28,6 +28,7 @@
44 // http://www.cooldevtools.com/qpl.html
47 +#include <cstdlib>
48 #include "CleanupManager.h"
49 #include "SpamFilter.h"
50 #include "FrequencyDB.h"
51 --- src/spamprobe/Command_import.cc
52 +++ src/spamprobe/Command_import.cc
53 @@ -28,6 +28,7 @@
54 // http://www.cooldevtools.com/qpl.html
57 +#include <cstdlib>
58 #include <fstream>
59 #include "LineReader.h"
60 #include "IstreamCharReader.h"
61 --- src/database/DatabaseConfig.cc
62 +++ src/database/DatabaseConfig.cc
63 @@ -29,6 +29,7 @@
66 #include <stdexcept>
67 +#include <cstdlib>
68 #include "File.h"
69 #include "WordData.h"
70 #include "FrequencyDBImpl.h"
71 --- src/parser/MailMessageReader.cc
72 +++ src/parser/MailMessageReader.cc
73 @@ -28,6 +28,7 @@
74 // http://www.cooldevtools.com/qpl.html
77 +#include <cstdlib>
78 #include "RegularExpression.h"
79 #include "MailMessage.h"
80 #include "MailMessageList.h"
81 --- src/parser/MbxMailMessageReader.cc
82 +++ src/parser/MbxMailMessageReader.cc
83 @@ -28,6 +28,7 @@
84 // http://www.cooldevtools.com/qpl.html
87 +#include <cstdlib>
88 #include <stdexcept>
89 #include "MailMessage.h"
90 #include "MailMessageList.h"
91 --- src/parser/AutoTrainMailMessageReader.cc
92 +++ src/parser/AutoTrainMailMessageReader.cc
93 @@ -28,6 +28,7 @@
94 // http://www.cooldevtools.com/qpl.html
97 +#include <cstdlib>
98 #include "MailMessage.h"
99 #include "AutoTrainMailMessageReader.h"
101 --- src/parser/HtmlTokenizer.cc
102 +++ src/parser/HtmlTokenizer.cc
103 @@ -28,6 +28,7 @@
104 // http://www.cooldevtools.com/qpl.html
107 +#include <cstdlib>
108 #include "AbstractTokenReceiver.h"
109 #include "StringReader.h"
110 #include "RegularExpression.h"
111 --- src/hdl/HdlTokenizer.cc
112 +++ src/hdl/HdlTokenizer.cc
113 @@ -28,6 +28,7 @@
114 // http://www.cooldevtools.com/qpl.html
117 +#include <cstdlib>
118 #include "AbstractCharReader.h"
119 #include "HdlError.h"
120 #include "HdlToken.h"
121 --- src/includes/util.h
122 +++ src/includes/util.h
123 @@ -42,6 +42,7 @@
124 #include <cassert>
125 #include <iostream>
126 #include <cstdio>
127 +#include <cstring>
128 #include "Ptr.h"
129 #include "Ref.h"
131 --- src/includes/MultiLineSubString.h
132 +++ src/includes/MultiLineSubString.h
133 @@ -31,6 +31,7 @@
134 #ifndef _MultiLineSubString_h
135 #define _MultiLineSubString_h
137 +#include <climits>
138 #include "AbstractMultiLineString.h"
140 class MultiLineSubString : public AbstractMultiLineString
141 --- src/includes/Buffer.h
142 +++ src/includes/Buffer.h
143 @@ -32,6 +32,7 @@
144 #define _Buffer_h
146 #include "Array.h"
147 +#include <cassert>
150 // Similar to Array but handles variable length.