diff options
author | David Shakaryan <omp@gentoo.org> | 2008-04-24 08:50:35 +0000 |
---|---|---|
committer | David Shakaryan <omp@gentoo.org> | 2008-04-24 08:50:35 +0000 |
commit | e2691333b78d5ab97b8562be526a25d61b5842d9 (patch) | |
tree | 06b3ceda6c1a2e4b971039cf74b5a66c7dd18e9c /x11-misc/fbdesk/files | |
parent | initial import (diff) | |
download | historical-e2691333b78d5ab97b8562be526a25d61b5842d9.tar.gz historical-e2691333b78d5ab97b8562be526a25d61b5842d9.tar.bz2 historical-e2691333b78d5ab97b8562be526a25d61b5842d9.zip |
Compile with GCC 4.3; patch by Peter Alfredsen. (bug #218336)
Package-Manager: portage-2.1.5_rc3
Diffstat (limited to 'x11-misc/fbdesk/files')
-rw-r--r-- | x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch b/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch new file mode 100644 index 000000000000..fba8bfe97176 --- /dev/null +++ b/x11-misc/fbdesk/files/fbdesk-1.4.1-gcc-4.3.patch @@ -0,0 +1,146 @@ +--- fbdesk-1.4.1.orig/src/FbDesk.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbDesk.cc 2008-04-18 23:23:53.000000000 +0200 +@@ -37,10 +37,11 @@ + #include <iostream> + #include <fstream> + #include <algorithm> + #include <unistd.h> + #include <cstdio> ++#include <cstring> + + using namespace std; + using namespace FbTk; + + +--- fbdesk-1.4.1.orig/src/FbTk/FbPixmap.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/FbPixmap.cc 2008-04-18 22:55:06.000000000 +0200 +@@ -28,10 +28,11 @@ + + #include <X11/Xutil.h> + #include <X11/Xatom.h> + #include <iostream> + #include <string> ++#include <cstring> + + using namespace std; + + namespace FbTk { + +--- fbdesk-1.4.1.orig/src/FbTk/KeyUtil.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/KeyUtil.cc 2008-04-18 22:56:17.000000000 +0200 +@@ -23,10 +23,11 @@ + + #include "KeyUtil.hh" + #include "App.hh" + + #include <string> ++#include <cstring> + + namespace { + + struct t_modlist{ + char *str; +--- fbdesk-1.4.1.orig/src/FbTk/StringUtil.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/StringUtil.cc 2008-04-18 22:52:54.000000000 +0200 +@@ -47,10 +47,11 @@ + + + #include <memory> + #include <algorithm> + #include <string> ++#include <cstring> + + using std::string; + using std::transform; + + namespace FbTk { +--- fbdesk-1.4.1.orig/src/FbTk/TextBox.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/TextBox.cc 2008-04-18 22:58:22.000000000 +0200 +@@ -34,10 +34,11 @@ + #endif + #include <X11/keysym.h> + #include <X11/Xutil.h> + + #include <iostream> ++#include <cstdlib> + + namespace FbTk { + + TextBox::TextBox(int screen_num, + const Font &font, const std::string &text): +--- fbdesk-1.4.1.orig/src/FbTk/TextureRender.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/TextureRender.cc 2008-04-18 22:48:18.000000000 +0200 +@@ -31,10 +31,11 @@ + #include "FbPixmap.hh" + #include "GContext.hh" + + #include <iostream> + #include <string> ++#include <cstring> + #ifdef HAVE_CSTDIO + #include <cstdio> + #else + #include <stdio.h> + #endif +--- fbdesk-1.4.1.orig/src/FbTk/Theme.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/Theme.cc 2008-04-18 22:49:14.000000000 +0200 +@@ -34,10 +34,11 @@ + #else + #include <stdio.h> + #endif + #include <memory> + #include <iostream> ++#include <algorithm> + + using namespace std; + + namespace FbTk { + +--- fbdesk-1.4.1.orig/src/FbTk/ThemeItems.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/ThemeItems.cc 2008-04-18 23:22:03.000000000 +0200 +@@ -46,10 +46,12 @@ + #include <stdio.h> + #endif + + #include <iostream> + #include <memory> ++#include <cstdlib> ++#include <cstring> + + namespace FbTk { + + using std::string; + using std::cerr; +--- fbdesk-1.4.1.orig/src/FbTk/XFontImp.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/FbTk/XFontImp.cc 2008-04-18 22:45:31.000000000 +0200 +@@ -26,10 +26,11 @@ + #include "GContext.hh" + #include "FbPixmap.hh" + + #include <X11/Xutil.h> + ++#include <cstdlib> + #include <iostream> + #include <new> + #ifdef HAVE_CSTDIO + #include <cstdio> + #else +--- fbdesk-1.4.1.orig/src/main.cc 2008-04-18 22:42:17.000000000 +0200 ++++ fbdesk-1.4.1/src/main.cc 2008-04-18 23:24:47.000000000 +0200 +@@ -21,14 +21,16 @@ + + #include "App.hh" + #include "FbDesk.hh" + #include "version.h" + ++#include <cstdlib> + #include <iostream> + #include <stdexcept> + #include <signal.h> + #include <sys/wait.h> ++#include <cstring> + + using namespace std; + + /// handles system signals + void signalhandler(int sig) { |