updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / zhcon / gcc4.3.patch
blob62accb23b11194a83610f34a310528d03d2c514d
1 --- a/src/basefont.cpp 2006-04-25 00:38:27.000000000 +0800
2 +++ b/src/basefont.cpp 2009-10-08 12:10:35.000000000 +0800
3 @@ -28,6 +28,7 @@
4 #include "debug.h"
5 #include "hzdecoder.h"
6 #include "basefont.h"
7 +#include <cstring>
9 BaseFont::BaseFont(string & fn, int w, int h)
10 :mFd(0)
11 --- a/src/display/fblinear4.cpp 2006-04-25 00:38:23.000000000 +0800
12 +++ b/src/display/fblinear4.cpp 2009-10-08 12:10:35.000000000 +0800
13 @@ -21,6 +21,7 @@
14 #include <endian.h>
15 #include "global.h"
16 #include "fblinear4.h"
17 +#include <cstring>
19 __u16 FBLinear4::nibbletab_cfb4[] = {
20 #if BYTE_ORDER == LITTLE_ENDIAN
21 --- a/src/display/fblinear8.cpp 2006-04-25 00:38:23.000000000 +0800
22 +++ b/src/display/fblinear8.cpp 2009-10-08 12:10:35.000000000 +0800
23 @@ -21,6 +21,7 @@
24 #include <endian.h>
25 #include "global.h"
26 #include "fblinear8.h"
27 +#include <cstring>
29 __u32 FBLinear8::nibbletab_cfb8[] = {
30 #if BYTE_ORDER == LITTLE_ENDIAN
31 --- a/src/display/fbvgaplanes.cpp 2006-04-25 00:38:23.000000000 +0800
32 +++ b/src/display/fbvgaplanes.cpp 2009-10-08 12:10:35.000000000 +0800
33 @@ -24,6 +24,7 @@
34 #include <unistd.h>
35 #include "debug.h"
36 #include "fbvgaplanes.h"
37 +#include <cstring>
39 #if defined(linux)
40 #include <sys/io.h>
41 --- a/src/display/vgadev.cpp 2006-05-13 19:01:22.000000000 +0800
42 +++ b/src/display/vgadev.cpp 2009-10-08 12:10:35.000000000 +0800
43 @@ -36,6 +36,7 @@
44 #include "debug.h"
45 #include "vgadev.h"
46 #include "lrmi.h"
47 +#include <cstring>
49 #define GRAPH_BASE 0xA0000
50 #define GRAPH_ADDR 0x3ce
51 --- a/src/graphdev.cpp 2006-04-25 00:38:26.000000000 +0800
52 +++ b/src/graphdev.cpp 2009-10-08 12:10:35.000000000 +0800
53 @@ -26,6 +26,8 @@
54 #include <sys/mman.h>
55 #include <assert.h>
56 #include <iostream>
57 +#include <cstdlib>
58 +#include <cstring>
59 #include "debug.h"
61 #include "display/fbdev.h"
62 --- a/src/inputclient.cpp 2006-04-25 00:38:27.000000000 +0800
63 +++ b/src/inputclient.cpp 2009-10-08 12:10:35.000000000 +0800
64 @@ -16,6 +16,7 @@
65 * *
66 ***************************************************************************/
68 +#include <cstdlib>
69 #include "inputclient.h"
71 Console* InputClient::mpCon = NULL;
72 --- a/src/inputmanager.cpp 2006-05-03 01:18:39.000000000 +0800
73 +++ b/src/inputmanager.cpp 2009-10-08 12:10:35.000000000 +0800
74 @@ -24,6 +24,7 @@ using namespace std;
75 #include <unistd.h>
76 #include <sys/time.h>
77 #include <string>
78 +#include <cstdlib>
80 #include "global.h"
81 #include "debug.h"
82 --- a/src/inputmanager.h 2006-04-25 00:38:26.000000000 +0800
83 +++ b/src/inputmanager.h 2009-10-08 12:10:35.000000000 +0800
84 @@ -26,6 +26,7 @@
85 using namespace std;
86 #include <cassert>
87 #include <vector>
88 +#include <sys/types.h>
90 #include "mouse.h"
91 #if defined(__FreeBSD__)
92 --- a/src/window.cpp 2006-04-25 00:38:25.000000000 +0800
93 +++ b/src/window.cpp 2009-10-08 12:10:35.000000000 +0800
94 @@ -23,6 +23,7 @@
95 #include "global.h"
96 #include "debug.h"
97 #include "window.h"
98 +#include <cstring>
100 //static members for all the windows
101 Window* Window::mpConsole = NULL;
102 --- a/src/zhcon.cpp 2006-05-15 04:12:01.000000000 +0800
103 +++ b/src/zhcon.cpp 2009-10-08 12:10:35.000000000 +0800
104 @@ -22,6 +22,7 @@
105 #include <iostream>
106 #include <unistd.h>
107 #include <cstdlib>
108 +#include <cstring>
109 #include <cstdio>
110 #include <sys/ioctl.h>