wok-next diff wbar/stuff/gcc43_fixes.diff @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wbar/stuff/gcc43_fixes.diff	Sat Mar 10 09:31:50 2012 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +diff -Naur wbar-1.3.3.orig/IconLoader.cc wbar-1.3.3/IconLoader.cc
     1.5 +--- IconLoader.cc	2006-12-29 01:54:29.000000000 +0000
     1.6 ++++ IconLoader.cc	2008-08-06 15:35:58.000000000 +0000
     1.7 +@@ -2,6 +2,7 @@
     1.8 + #include <unistd.h>
     1.9 + #include <sys/stat.h>
    1.10 + #include <sys/types.h>
    1.11 ++#include <cstdlib>
    1.12 + };
    1.13 + 
    1.14 + #include "IconLoader.h"
    1.15 +diff -Naur wbar-1.3.3.orig/Main.cc wbar-1.3.3/Main.cc
    1.16 +--- Main.cc	2007-08-06 12:28:11.000000000 +0000
    1.17 ++++ Main.cc	2008-08-06 15:35:00.000000000 +0000
    1.18 +@@ -4,6 +4,8 @@
    1.19 + #include <unistd.h>
    1.20 + #include <stdlib.h>
    1.21 + #include <iostream>
    1.22 ++#include <cstdlib>
    1.23 ++#include <memory>
    1.24 + 
    1.25 + #include "XWin.h"
    1.26 + #include "ImgWrap.h"
    1.27 +diff -Naur wbar-1.3.3.orig/SuperBar.cc wbar-1.3.3/SuperBar.cc
    1.28 +--- SuperBar.cc	2007-08-04 00:24:34.000000000 +0000
    1.29 ++++ SuperBar.cc	2008-08-06 15:51:14.000000000 +0000
    1.30 +@@ -1,5 +1,6 @@
    1.31 + #include "SuperBar.h"
    1.32 + #include "SuperIcon.h"
    1.33 ++#include <cstdlib>
    1.34 + 
    1.35 + using namespace std;
    1.36 +