package wengophone tags 455654 + pending thanks Ludovico Cavedon wrote: > Cyril Brulebois wrote: >> please find a prospective patch. Unfortunately, it's not sufficient >> because the build then fails on: > > Hi, thanks for the patch. I'll try to fix this bug.
I am attaching the patch to make it compile with GCC 4.3. It has been commited, an upload will be made soon. Regards, Ludovico Cavedon
Index: wengophone-2.1.2.dfsg0/libs/owutil/system/src/unix/Processes.cpp =================================================================== --- wengophone-2.1.2.dfsg0.orig/libs/owutil/system/src/unix/Processes.cpp 2008-03-08 22:16:29.000000000 +0000 +++ wengophone-2.1.2.dfsg0/libs/owutil/system/src/unix/Processes.cpp 2008-03-08 22:16:34.000000000 +0000 @@ -22,6 +22,8 @@ #include <dirent.h> #include <fcntl.h> +#include <cstdlib> + #define BUFFERSIZE 1024 #define FILENAMESIZE 128 #define PROCESSNAMESIZE 512 Index: wengophone-2.1.2.dfsg0/owbuild/owbuild/getcurrentdatetime.cpp =================================================================== --- wengophone-2.1.2.dfsg0.orig/owbuild/owbuild/getcurrentdatetime.cpp 2008-03-08 22:17:04.000000000 +0000 +++ wengophone-2.1.2.dfsg0/owbuild/owbuild/getcurrentdatetime.cpp 2008-03-08 22:17:19.000000000 +0000 @@ -7,6 +7,7 @@ #include <string> #include <ctime> +#include <cstdlib> #include <iostream> #include <sstream>