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 mail-client/cone/files: cone-0.74-gcc43.patch
Date: Mon, 09 Jun 2008 09:27:36
Message-Id: E1K5df0-0007qB-9u@stork.gentoo.org
1 loki_val 08/06/09 09:27:30
2
3 Added: cone-0.74-gcc43.patch
4 Log:
5 bump and patch for bug #217637
6 (Portage version: 2.1.5.4)
7
8 Revision Changes Path
9 1.1 mail-client/cone/files/cone-0.74-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/cone/files/cone-0.74-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/cone/files/cone-0.74-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: cone-0.74-gcc43.patch
15 ===================================================================
16 diff -up cone-0.74/cone/nntpcommand.C.gcc43 cone-0.74/cone/nntpcommand.C
17 --- cone-0.74/cone/nntpcommand.C.gcc43 2008-03-28 23:58:51.000000000 -0400
18 +++ cone-0.74/cone/nntpcommand.C 2008-03-28 23:59:10.000000000 -0400
19 @@ -9,9 +9,10 @@
20 #include "nntpcommand.H"
21 #include "libmail/addmessage.H"
22 #include "gettext.H"
23 -#include <errno.h>
24 -#include <stdio.h>
25 +#include <cerrno>
26 +#include <cstdio>
27 #include <cstdlib>
28 +#include <cstring>
29
30 #include <sys/types.h>
31 #if HAVE_UNISTD_H
32 diff -up cone-0.74/cone/tags.C.gcc43 cone-0.74/cone/tags.C
33 --- cone-0.74/cone/tags.C.gcc43 2008-03-28 23:59:32.000000000 -0400
34 +++ cone-0.74/cone/tags.C 2008-03-28 23:59:44.000000000 -0400
35 @@ -9,6 +9,7 @@
36 #include "tags.H"
37 #include "gettext.H"
38 #include <sstream>
39 +#include <cstring>
40
41 using namespace std;
42
43 diff -up cone-0.74/cone/spellcheckerAspell.C.gcc43 cone-0.74/cone/spellcheckerAspell.C
44 --- cone-0.74/cone/spellcheckerAspell.C.gcc43 2008-03-29 00:00:31.000000000 -0400
45 +++ cone-0.74/cone/spellcheckerAspell.C 2008-03-29 00:00:49.000000000 -0400
46 @@ -9,7 +9,8 @@
47 #include "spellcheckerAspell.H"
48 #include "libmail/mail.H"
49
50 -#include <errno.h>
51 +#include <cerrno>
52 +#include <cstring>
53
54 #if HAVE_ASPELL_CONFIG_HH
55 #include "aspell/suggest.hh"
56 diff -up cone-0.74/cone/gettext.C.gcc43 cone-0.74/cone/gettext.C
57 --- cone-0.74/cone/gettext.C.gcc43 2008-03-28 23:57:20.000000000 -0400
58 +++ cone-0.74/cone/gettext.C 2008-03-28 23:57:49.000000000 -0400
59 @@ -6,14 +6,15 @@
60 */
61
62 #include "gettext.H"
63 -#include <ctype.h>
64 -#include <stdlib.h>
65 +#include <cctype>
66 +#include <cstdlib>
67 #include <unistd.h>
68 #include <sstream>
69 #include <algorithm>
70 #include "unicode/unicode.h"
71 #include "libmail/mail.H"
72 -#include <errno.h>
73 +#include <cerrno>
74 +#include <cstring>
75
76 #if HAVE_LANGINFO_H
77 #include <langinfo.h>
78 diff -up cone-0.74/cone/spellcheckerPspell.C.gcc43 cone-0.74/cone/spellcheckerPspell.C
79 --- cone-0.74/cone/spellcheckerPspell.C.gcc43 2008-03-29 00:00:00.000000000 -0400
80 +++ cone-0.74/cone/spellcheckerPspell.C 2008-03-29 00:00:15.000000000 -0400
81 @@ -9,7 +9,8 @@
82 #include "spellcheckerPspell.H"
83 #include "libmail/mail.H"
84
85 -#include <errno.h>
86 +#include <cerrno>
87 +#include <cstring>
88
89 using namespace std;
90
91 diff -up cone-0.74/libmail/attachments.C.gcc43 cone-0.74/libmail/attachments.C
92 --- cone-0.74/libmail/attachments.C.gcc43 2008-03-28 23:46:09.000000000 -0400
93 +++ cone-0.74/libmail/attachments.C 2008-03-29 00:02:57.000000000 -0400
94 @@ -11,10 +11,11 @@
95 #include "rfc2045/rfc2045charset.h"
96 #include <sys/time.h>
97 #include "attachments.H"
98 -#include <stdio.h>
99 -#include <stdlib.h>
100 +#include <cstring>
101 +#include <cstdlib>
102 +#include <cstdio>
103 #include <unistd.h>
104 -#include <errno.h>
105 +#include <cerrno>
106 #include <sstream>
107 #include <iomanip>
108
109 diff -up cone-0.74/libmail/fd.C.gcc43 cone-0.74/libmail/fd.C
110 --- cone-0.74/libmail/fd.C.gcc43 2008-03-28 23:47:28.000000000 -0400
111 +++ cone-0.74/libmail/fd.C 2008-03-28 23:47:57.000000000 -0400
112 @@ -21,6 +21,7 @@
113
114 #include <iostream>
115 #include <sstream>
116 +#include <cstdlib>
117
118 using namespace std;
119
120 diff -up cone-0.74/libmail/mimetypes.C.gcc43 cone-0.74/libmail/mimetypes.C
121 --- cone-0.74/libmail/mimetypes.C.gcc43 2008-03-28 23:50:35.000000000 -0400
122 +++ cone-0.74/libmail/mimetypes.C 2008-03-28 23:51:28.000000000 -0400
123 @@ -8,7 +8,8 @@
124 #include "mimetypes.H"
125 #include "namespace.H"
126 #include <fstream>
127 -#include <ctype.h>
128 +#include <cctype>
129 +#include <cstring>
130
131 using namespace std;
132
133 diff -up cone-0.74/libmail/addmessageimport.C.gcc43 cone-0.74/libmail/addmessageimport.C
134 --- cone-0.74/libmail/addmessageimport.C.gcc43 2008-03-28 23:43:31.000000000 -0400
135 +++ cone-0.74/libmail/addmessageimport.C 2008-03-29 00:03:19.000000000 -0400
136 @@ -7,7 +7,8 @@
137 #include "libmail_config.h"
138 #include "addmessage.H"
139 #include "attachments.H"
140 -#include <errno.h>
141 +#include <cerrno>
142 +#include <cstring>
143
144 using namespace std;
145
146 diff -up cone-0.74/libmail/addressbookadd.C.gcc43 cone-0.74/libmail/addressbookadd.C
147 --- cone-0.74/libmail/addressbookadd.C.gcc43 2008-03-28 23:45:33.000000000 -0400
148 +++ cone-0.74/libmail/addressbookadd.C 2008-03-29 00:04:00.000000000 -0400
149 @@ -13,9 +13,10 @@
150 #include "rfcaddr.H"
151 #include "misc.H"
152 #include "unicode/unicode.h"
153 -#include <ctype.h>
154 +#include <cctype>
155 #include <vector>
156 -#include <errno.h>
157 +#include <cerrno>
158 +#include <cstring>
159
160 using namespace std;
161
162 diff -up cone-0.74/libmail/rfc2047decode.C.gcc43 cone-0.74/libmail/rfc2047decode.C
163 --- cone-0.74/libmail/rfc2047decode.C.gcc43 2008-03-28 23:52:50.000000000 -0400
164 +++ cone-0.74/libmail/rfc2047decode.C 2008-03-28 23:53:00.000000000 -0400
165 @@ -9,6 +9,7 @@
166 #include "rfc2047decode.H"
167 #include "rfc822/rfc2047.h"
168 #include "mail.H"
169 +#include <cstring>
170
171 using namespace std;
172
173 diff -up cone-0.74/libmail/addmessageremoveattachments.C.gcc43 cone-0.74/libmail/addmessageremoveattachments.C
174 --- cone-0.74/libmail/addmessageremoveattachments.C.gcc43 2008-03-28 23:44:28.000000000 -0400
175 +++ cone-0.74/libmail/addmessageremoveattachments.C 2008-03-29 00:04:43.000000000 -0400
176 @@ -8,7 +8,8 @@
177 #include "addmessage.H"
178 #include "attachments.H"
179 #include "headers.H"
180 -#include <errno.h>
181 +#include <cerrno>
182 +#include <cstring>
183 #include <vector>
184
185 using namespace std;
186 diff -up cone-0.74/libmail/sortfolders.C.gcc43 cone-0.74/libmail/sortfolders.C
187 --- cone-0.74/libmail/sortfolders.C.gcc43 2008-03-28 23:55:00.000000000 -0400
188 +++ cone-0.74/libmail/sortfolders.C 2008-03-28 23:55:11.000000000 -0400
189 @@ -6,6 +6,7 @@
190 */
191 #include "libmail_config.h"
192 #include "mail.H"
193 +#include <cstring>
194
195 mail::folder::sort::sort(bool foldersFirstArg) // TRUE: sort folders first
196 : foldersFirst(foldersFirstArg)
197 diff -up cone-0.74/libmail/addressbook.C.gcc43 cone-0.74/libmail/addressbook.C
198 --- cone-0.74/libmail/addressbook.C.gcc43 2008-03-28 23:45:00.000000000 -0400
199 +++ cone-0.74/libmail/addressbook.C 2008-03-29 00:05:01.000000000 -0400
200 @@ -13,7 +13,8 @@
201 #include "addressbooksearch.H"
202 #include "rfc2047decode.H"
203 #include "misc.H"
204 -#include <errno.h>
205 +#include <cerrno>
206 +#include <cstring>
207
208 using namespace std;
209
210 diff -up cone-0.74/libmail/fdtls.C.gcc43 cone-0.74/libmail/fdtls.C
211 --- cone-0.74/libmail/fdtls.C.gcc43 2008-03-28 23:48:21.000000000 -0400
212 +++ cone-0.74/libmail/fdtls.C 2008-03-28 23:48:32.000000000 -0400
213 @@ -6,6 +6,7 @@
214 */
215 #include "libmail_config.h"
216 #include "fdtls.H"
217 +#include <cstdlib>
218
219 #if HAVE_LIBCOURIERTLS
220
221 diff -up cone-0.74/libmail/addmessage.C.gcc43 cone-0.74/libmail/addmessage.C
222 --- cone-0.74/libmail/addmessage.C.gcc43 2004-06-22 20:55:25.000000000 -0400
223 +++ cone-0.74/libmail/addmessage.C 2008-03-29 00:05:15.000000000 -0400
224 @@ -7,7 +7,8 @@
225 #include "libmail_config.h"
226 #include "addmessage.H"
227 #include "attachments.H"
228 -#include <errno.h>
229 +#include <cerrno>
230 +#include <cstring>
231
232 // Default method implementation.
233
234
235
236
237 --
238 gentoo-commits@l.g.o mailing list