Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/spamprobe/files: spamprobe-1.4b-gcc43.patch
Date: Mon, 28 Apr 2008 16:44:42
Message-Id: E1JqWT1-0006Vm-Qq@stork.gentoo.org
1 ticho 08/04/28 16:44:39
2
3 Added: spamprobe-1.4b-gcc43.patch
4 Log:
5 Add patch to fix building on gcc4.3, bug #219552 by Peter Alfredsen. Remove old ebuild.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamprobe/files/spamprobe-1.4b-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: spamprobe-1.4b-gcc43.patch
15 ===================================================================
16 --- spamprobe-1.4d.orig/src/spamprobe/Command_exec.cc
17 +++ spamprobe-1.4d/src/spamprobe/Command_exec.cc
18 @@ -28,6 +28,7 @@
19 // http://www.cooldevtools.com/qpl.html
20 //
21
22 +#include <cstdlib>
23 #include "SpamFilter.h"
24 #include "CommandConfig.h"
25 #include "ConfigManager.h"
26 --- spamprobe-1.4d.orig/src/spamprobe/Command_edit_term.cc
27 +++ spamprobe-1.4d/src/spamprobe/Command_edit_term.cc
28 @@ -28,6 +28,7 @@
29 // http://www.cooldevtools.com/qpl.html
30 //
31
32 +#include <cstdlib>
33 #include "SpamFilter.h"
34 #include "FrequencyDB.h"
35 #include "CommandConfig.h"
36 --- spamprobe-1.4d.orig/src/spamprobe/Command_cleanup.cc
37 +++ spamprobe-1.4d/src/spamprobe/Command_cleanup.cc
38 @@ -28,6 +28,7 @@
39 // http://www.cooldevtools.com/qpl.html
40 //
41
42 +#include <cstdlib>
43 #include "CleanupManager.h"
44 #include "SpamFilter.h"
45 #include "FrequencyDB.h"
46 --- spamprobe-1.4d.orig/src/spamprobe/spamprobe.cc
47 +++ spamprobe-1.4d/src/spamprobe/spamprobe.cc
48 @@ -28,6 +28,7 @@
49 // http://www.cooldevtools.com/qpl.html
50 //
51
52 +#include <cstdlib>
53 #include <unistd.h>
54 #include <locale.h>
55 #include <signal.h>
56 --- spamprobe-1.4d.orig/src/spamprobe/Command_purge.cc
57 +++ spamprobe-1.4d/src/spamprobe/Command_purge.cc
58 @@ -28,6 +28,7 @@
59 // http://www.cooldevtools.com/qpl.html
60 //
61
62 +#include <cstdlib>
63 #include "CleanupManager.h"
64 #include "SpamFilter.h"
65 #include "FrequencyDB.h"
66 --- spamprobe-1.4d.orig/src/spamprobe/Command_import.cc
67 +++ spamprobe-1.4d/src/spamprobe/Command_import.cc
68 @@ -28,6 +28,7 @@
69 // http://www.cooldevtools.com/qpl.html
70 //
71
72 +#include <cstdlib>
73 #include <fstream>
74 #include "LineReader.h"
75 #include "IstreamCharReader.h"
76 --- spamprobe-1.4d.orig/src/database/DatabaseConfig.cc
77 +++ spamprobe-1.4d/src/database/DatabaseConfig.cc
78 @@ -29,6 +29,7 @@
79 //
80
81 #include <stdexcept>
82 +#include <cstdlib>
83 #include "File.h"
84 #include "WordData.h"
85 #include "FrequencyDBImpl.h"
86 --- spamprobe-1.4d.orig/src/parser/MailMessageReader.cc
87 +++ spamprobe-1.4d/src/parser/MailMessageReader.cc
88 @@ -28,6 +28,7 @@
89 // http://www.cooldevtools.com/qpl.html
90 //
91
92 +#include <cstdlib>
93 #include "RegularExpression.h"
94 #include "MailMessage.h"
95 #include "MailMessageList.h"
96 --- spamprobe-1.4d.orig/src/parser/MbxMailMessageReader.cc
97 +++ spamprobe-1.4d/src/parser/MbxMailMessageReader.cc
98 @@ -28,6 +28,7 @@
99 // http://www.cooldevtools.com/qpl.html
100 //
101
102 +#include <cstdlib>
103 #include <stdexcept>
104 #include "MailMessage.h"
105 #include "MailMessageList.h"
106 --- spamprobe-1.4d.orig/src/parser/AutoTrainMailMessageReader.cc
107 +++ spamprobe-1.4d/src/parser/AutoTrainMailMessageReader.cc
108 @@ -28,6 +28,7 @@
109 // http://www.cooldevtools.com/qpl.html
110 //
111
112 +#include <cstdlib>
113 #include "MailMessage.h"
114 #include "AutoTrainMailMessageReader.h"
115
116 --- spamprobe-1.4d.orig/src/parser/HtmlTokenizer.cc
117 +++ spamprobe-1.4d/src/parser/HtmlTokenizer.cc
118 @@ -28,6 +28,7 @@
119 // http://www.cooldevtools.com/qpl.html
120 //
121
122 +#include <cstdlib>
123 #include "AbstractTokenReceiver.h"
124 #include "StringReader.h"
125 #include "RegularExpression.h"
126 --- spamprobe-1.4d.orig/src/hdl/HdlTokenizer.cc
127 +++ spamprobe-1.4d/src/hdl/HdlTokenizer.cc
128 @@ -28,6 +28,7 @@
129 // http://www.cooldevtools.com/qpl.html
130 //
131
132 +#include <cstdlib>
133 #include "AbstractCharReader.h"
134 #include "HdlError.h"
135 #include "HdlToken.h"
136 --- spamprobe-1.4d.orig/src/includes/util.h
137 +++ spamprobe-1.4d/src/includes/util.h
138 @@ -42,6 +42,7 @@
139 #include <cassert>
140 #include <iostream>
141 #include <cstdio>
142 +#include <cstring>
143 #include "Ptr.h"
144 #include "Ref.h"
145
146 --- spamprobe-1.4d.orig/src/includes/MultiLineSubString.h
147 +++ spamprobe-1.4d/src/includes/MultiLineSubString.h
148 @@ -31,6 +31,7 @@
149 #ifndef _MultiLineSubString_h
150 #define _MultiLineSubString_h
151
152 +#include <climits>
153 #include "AbstractMultiLineString.h"
154
155 class MultiLineSubString : public AbstractMultiLineString
156 --- spamprobe-1.4d.orig/src/includes/Buffer.h
157 +++ spamprobe-1.4d/src/includes/Buffer.h
158 @@ -32,6 +32,7 @@
159 #define _Buffer_h
160
161 #include "Array.h"
162 +#include <cassert>
163
164 //
165 // Similar to Array but handles variable length.
166
167
168
169 --
170 gentoo-commits@l.g.o mailing list