/[debian]/mimetic/trunk/debian/patches/gcc4.3_includes.diff
ViewVC logotype

Contents of /mimetic/trunk/debian/patches/gcc4.3_includes.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1104 - (show annotations)
Tue Dec 11 02:01:35 2007 UTC (13 years, 7 months ago) by gregoa
File size: 1169 byte(s)
* Add patch gcc4.3_includes.diff: adds #includes to header files to enable
  compilation with gcc 4.3 (closes: #454897).
* Set Standars-Version to 3.7.3 (no further changes needed).
1 Index: mimetic/mimetic/os/mmfile.h
2 ===================================================================
3 --- mimetic.orig/mimetic/os/mmfile.h 2007-12-11 02:32:46.000000000 +0100
4 +++ mimetic/mimetic/os/mmfile.h 2007-12-11 02:33:25.000000000 +0100
5 @@ -20,6 +20,7 @@
6 #include <fcntl.h>
7 #include <sys/mman.h>
8 #include <string>
9 +#include <cstring>
10 #include <mimetic/os/fileop.h>
11
12 namespace mimetic
13 Index: mimetic/mimetic/strutils.h
14 ===================================================================
15 --- mimetic.orig/mimetic/strutils.h 2007-12-11 02:32:54.000000000 +0100
16 +++ mimetic/mimetic/strutils.h 2007-12-11 02:33:23.000000000 +0100
17 @@ -16,6 +16,7 @@
18 #ifndef _MIMETIC_STRINGUTILS_H_
19 #define _MIMETIC_STRINGUTILS_H_
20 #include <string>
21 +#include <cstring>
22 #include <iostream>
23 #include <algorithm>
24
25 Index: mimetic/mimetic/tokenizer.h
26 ===================================================================
27 --- mimetic.orig/mimetic/tokenizer.h 2007-12-11 02:32:38.000000000 +0100
28 +++ mimetic/mimetic/tokenizer.h 2007-12-11 02:33:28.000000000 +0100
29 @@ -19,6 +19,7 @@
30 #include <algorithm>
31 #include <set>
32 #include <string>
33 +#include <cstring>
34
35 namespace mimetic
36 {

  ViewVC Help
Powered by ViewVC 1.1.26