1 |
halcy0n 09/01/22 22:29:46 |
2 |
|
3 |
Added: mapson-3.0-gcc43.patch |
4 |
Log: |
5 |
Patch to fix compilation with gcc-4.3 by Yaroslav Gorbunov <yagorbunov AT mail DOT ru>; bug #251151 |
6 |
(Portage version: 2.2_rc22/cvs/Linux 2.6.28 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 mail-filter/mapson/files/mapson-3.0-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/files/mapson-3.0-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/mapson/files/mapson-3.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: mapson-3.0-gcc43.patch |
15 |
=================================================================== |
16 |
diff -Nurpa mapson-3.0.orig/extract-addresses.cc mapson-3.0/extract-addresses.cc |
17 |
--- mapson-3.0.orig/extract-addresses.cc 2008-12-17 03:59:36.000000000 +0300 |
18 |
+++ mapson-3.0/extract-addresses.cc 2008-12-17 04:02:19.000000000 +0300 |
19 |
@@ -12,6 +12,7 @@ |
20 |
#include "extract-addresses.hh" |
21 |
#include "log.hh" |
22 |
#include "config.hh" |
23 |
+#include <cstring> |
24 |
|
25 |
using namespace std; |
26 |
|
27 |
diff -Nurpa mapson-3.0.orig/libvarexp/search-and-replace.cc mapson-3.0/libvarexp/search-and-replace.cc |
28 |
--- mapson-3.0.orig/libvarexp/search-and-replace.cc 2008-12-17 03:59:36.000000000 +0300 |
29 |
+++ mapson-3.0/libvarexp/search-and-replace.cc 2008-12-17 04:00:16.000000000 +0300 |
30 |
@@ -1,6 +1,7 @@ |
31 |
#include <sys/types.h> |
32 |
#include <regex.h> |
33 |
#include "internal.hh" |
34 |
+#include <cstring> |
35 |
|
36 |
namespace varexp |
37 |
{ |
38 |
diff -Nurpa mapson-3.0.orig/RegExp/RegExp.hh mapson-3.0/RegExp/RegExp.hh |
39 |
--- mapson-3.0.orig/RegExp/RegExp.hh 2008-12-17 03:59:36.000000000 +0300 |
40 |
+++ mapson-3.0/RegExp/RegExp.hh 2008-12-17 04:02:46.000000000 +0300 |
41 |
@@ -8,7 +8,7 @@ |
42 |
|
43 |
#include <stdexcept> |
44 |
#include <vector> |
45 |
-#include <string> |
46 |
+#include <cstring> |
47 |
#include <memory> |
48 |
#include <sys/types.h> |
49 |
#include <regex.h> |
50 |
diff -Nurpa mapson-3.0.orig/system-error/system-error.hh mapson-3.0/system-error/system-error.hh |
51 |
--- mapson-3.0.orig/system-error/system-error.hh 2008-12-17 03:59:36.000000000 +0300 |
52 |
+++ mapson-3.0/system-error/system-error.hh 2008-12-17 04:01:28.000000000 +0300 |
53 |
@@ -9,7 +9,7 @@ |
54 |
// ISO C++ headers. |
55 |
#include <stdexcept> |
56 |
#include <cerrno> |
57 |
-#include <string> |
58 |
+#include <cstring> |
59 |
|
60 |
struct system_error : public std::runtime_error |
61 |
{ |