updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / fbdesk / fbdesk-1.4.1-gcc43.patch
blobb1e51e4d5a7402f484d31963c2d5af270d7e9854
1 diff -up fbdesk-1.4.1/src/main.cc.gcc43 fbdesk-1.4.1/src/main.cc
2 --- fbdesk-1.4.1/src/main.cc.gcc43 2008-03-31 23:36:49.000000000 -0400
3 +++ fbdesk-1.4.1/src/main.cc 2008-03-31 23:37:12.000000000 -0400
4 @@ -23,6 +23,8 @@
5 #include "FbDesk.hh"
6 #include "version.h"
8 +#include <cstdlib>
9 +#include <cstring>
10 #include <iostream>
11 #include <stdexcept>
12 #include <signal.h>
13 diff -up fbdesk-1.4.1/src/FbDesk.cc.gcc43 fbdesk-1.4.1/src/FbDesk.cc
14 --- fbdesk-1.4.1/src/FbDesk.cc.gcc43 2008-03-31 23:36:06.000000000 -0400
15 +++ fbdesk-1.4.1/src/FbDesk.cc 2008-03-31 23:36:32.000000000 -0400
16 @@ -39,6 +39,7 @@
17 #include <algorithm>
18 #include <unistd.h>
19 #include <cstdio>
20 +#include <cstring>
22 using namespace std;
23 using namespace FbTk;
24 diff -up fbdesk-1.4.1/src/FbTk/KeyUtil.cc.gcc43 fbdesk-1.4.1/src/FbTk/KeyUtil.cc
25 --- fbdesk-1.4.1/src/FbTk/KeyUtil.cc.gcc43 2008-03-31 23:34:03.000000000 -0400
26 +++ fbdesk-1.4.1/src/FbTk/KeyUtil.cc 2008-03-31 23:34:13.000000000 -0400
27 @@ -24,6 +24,7 @@
28 #include "KeyUtil.hh"
29 #include "App.hh"
31 +#include <cstring>
32 #include <string>
34 namespace {
35 diff -up fbdesk-1.4.1/src/FbTk/ThemeItems.cc.gcc43 fbdesk-1.4.1/src/FbTk/ThemeItems.cc
36 --- fbdesk-1.4.1/src/FbTk/ThemeItems.cc.gcc43 2008-03-31 23:34:33.000000000 -0400
37 +++ fbdesk-1.4.1/src/FbTk/ThemeItems.cc 2008-03-31 23:34:59.000000000 -0400
38 @@ -39,6 +39,8 @@
39 #include "Image.hh"
40 #include "StringUtil.hh"
42 +#include <cstdlib>
43 +#include <cstring>
44 #include <string>
45 #ifdef HAVE_CSTDIO
46 #include <cstdio>
47 diff -up fbdesk-1.4.1/src/FbTk/FbPixmap.cc.gcc43 fbdesk-1.4.1/src/FbTk/FbPixmap.cc
48 --- fbdesk-1.4.1/src/FbTk/FbPixmap.cc.gcc43 2008-03-31 23:32:29.000000000 -0400
49 +++ fbdesk-1.4.1/src/FbTk/FbPixmap.cc 2008-03-31 23:32:45.000000000 -0400
50 @@ -30,6 +30,7 @@
51 #include <X11/Xatom.h>
52 #include <iostream>
53 #include <string>
54 +#include <cstring>
56 using namespace std;
58 diff -up fbdesk-1.4.1/src/FbTk/Theme.cc.gcc43 fbdesk-1.4.1/src/FbTk/Theme.cc
59 --- fbdesk-1.4.1/src/FbTk/Theme.cc.gcc43 2008-03-31 23:30:11.000000000 -0400
60 +++ fbdesk-1.4.1/src/FbTk/Theme.cc 2008-03-31 23:31:24.000000000 -0400
61 @@ -29,6 +29,7 @@
62 #include "FileUtil.hh"
63 #include "Image.hh"
65 +#include <algorithm>
66 #ifdef HAVE_CSTDIO
67 #include <cstdio>
68 #else
69 diff -up fbdesk-1.4.1/src/FbTk/TextBox.cc.gcc43 fbdesk-1.4.1/src/FbTk/TextBox.cc
70 --- fbdesk-1.4.1/src/FbTk/TextBox.cc.gcc43 2008-03-31 23:33:15.000000000 -0400
71 +++ fbdesk-1.4.1/src/FbTk/TextBox.cc 2008-03-31 23:33:27.000000000 -0400
72 @@ -27,6 +27,7 @@
73 #include "App.hh"
74 #include "KeyUtil.hh"
76 +#include <cstdlib>
77 #ifdef HAVE_CCTYPE
78 #include <cctype>
79 #else
80 diff -up fbdesk-1.4.1/src/FbTk/XFontImp.cc.gcc43 fbdesk-1.4.1/src/FbTk/XFontImp.cc
81 --- fbdesk-1.4.1/src/FbTk/XFontImp.cc.gcc43 2006-03-25 06:53:47.000000000 -0500
82 +++ fbdesk-1.4.1/src/FbTk/XFontImp.cc 2008-03-31 23:26:33.000000000 -0400
83 @@ -28,6 +28,7 @@
85 #include <X11/Xutil.h>
87 +#include <cstdlib>
88 #include <iostream>
89 #include <new>
90 #ifdef HAVE_CSTDIO
91 diff -up fbdesk-1.4.1/src/FbTk/StringUtil.cc.gcc43 fbdesk-1.4.1/src/FbTk/StringUtil.cc
92 --- fbdesk-1.4.1/src/FbTk/StringUtil.cc.gcc43 2008-03-31 23:31:48.000000000 -0400
93 +++ fbdesk-1.4.1/src/FbTk/StringUtil.cc 2008-03-31 23:32:07.000000000 -0400
94 @@ -49,6 +49,7 @@
95 #include <memory>
96 #include <algorithm>
97 #include <string>
98 +#include <cstring>
100 using std::string;
101 using std::transform;
102 diff -up fbdesk-1.4.1/src/FbTk/TextureRender.cc.gcc43 fbdesk-1.4.1/src/FbTk/TextureRender.cc
103 --- fbdesk-1.4.1/src/FbTk/TextureRender.cc.gcc43 2008-03-31 23:27:43.000000000 -0400
104 +++ fbdesk-1.4.1/src/FbTk/TextureRender.cc 2008-03-31 23:29:41.000000000 -0400
105 @@ -31,6 +31,7 @@
106 #include "FbPixmap.hh"
107 #include "GContext.hh"
109 +#include <cstring>
110 #include <iostream>
111 #include <string>
112 #ifdef HAVE_CSTDIO