tag 456047 patch
thanks

Martin Michlmayr <[EMAIL PROTECTED]> (12/12/2007):
> Package: blackbox
> Version: 0.70.1-2
> Usertags: ftbfs-gcc-4.3

Hi,

please find attached a patch to fix this FTBFS.

Cheers,

-- 
Cyril Brulebois
--- a/lib/Image.cc
+++ b/lib/Image.cc
@@ -45,6 +45,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include <cstring>
+
 // #define COLORTABLE_DEBUG
 // #define MITSHM_DEBUG
 
--- a/lib/Resource.cc
+++ b/lib/Resource.cc
@@ -30,6 +30,8 @@
 
 #include <stdio.h>
 
+#include <cstring>
+
 
 bt::Resource::Resource(void)
   : db(NULL)
--- a/src/BlackboxResource.cc
+++ b/src/BlackboxResource.cc
@@ -33,6 +33,8 @@
 #include <X11/Xutil.h>
 #include <X11/cursorfont.h>
 
+#include <cstring>
+
 
 BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
   screen_resources = 0;
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -48,6 +48,8 @@
 #include <ctype.h>
 #include <dirent.h>
 
+#include <cstring>
+
 
 static bool running = true;
 static int anotherWMRunning(Display *, XErrorEvent *) {
--- a/src/ScreenResource.cc
+++ b/src/ScreenResource.cc
@@ -33,6 +33,8 @@
 
 #include <assert.h>
 
+#include <cstring>
+
 
 static const int iconify_width  = 9;
 static const int iconify_height = 9;
--- a/src/main.cc
+++ b/src/main.cc
@@ -36,6 +36,8 @@
 
 #include <stdio.h>
 
+#include <cstring>
+
 
 static void showHelp(int exitval) {
   // print version - this should not be localized!
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -33,6 +33,8 @@
 #include <X11/Xatom.h>
 #include <stdio.h>
 
+#include <cstring>
+
 
 // ignore all X errors
 static int x11_error(::Display *, XErrorEvent *)

Attachment: signature.asc
Description: Digital signature

Reply via email to