Martin Michlmayr <[EMAIL PROTECTED]> (10/12/2007):
> Package: wengophone
> Version: 2.1.2.dfsg0-2
> Usertags: ftbfs-gcc-4.3

Hi,

please find a prospective patch. Unfortunately, it's not sufficient
because the build then fails on:
| 
/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/wengophone/src/WengoPhoneBuildId.cpp:41:
 error: ‘LL’ was not declared in this scope

Grepping for LL:
| $ grep DD_BUILDID -r .
| ./wengophone/src/WengoPhoneBuildId.cpp: return DD_BUILDID;
| ./wengophone/src/buildid/CMakeLists.txt:                
-DDD_BUILDID=${CURRENT_DATE_TIME}LL
| ./wengophone/src/buildid/CMakeLists.txt:                -DDD_BUILDID=0LL
| 
./obj-i486-linux-gnu/wengophone/src/buildid/CMakeFiles/owbuildid.dir/flags.make:CXX_FLAGS
 = -g -Wall -O2 -O2 -g 
-I/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/wengophone/src/buildid 
-I/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/libs/3rdparty/gaim/include 
-I/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/libs/3rdparty/gaim/src/libgaim 
-I/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/libs/3rdparty/tinyxml 
-I/home/kibi/ftbfs/wengophone-2.1.2.dfsg0/libs/owutil -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0/glib -I/usr/include/ffmpeg  
 -fPIC -D_FORTIFY_SOURCE=2 -Wall -Wstrict-aliasing -Wextra 
-Wno-unused-parameter -DDEBUG -fmessage-length=0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/ffmpeg -DBOOST_ALL_DYN_LINK 
-DDD_BUILDID=LL -DDD_VERSION=2.1.2 -DDD_REVISION=0 -DDD_SOFTPHONE_NAME=wengo
| grep: 
./.pc/generic/curl-openssl-mt-fix.patch/libs/owutil/http/src/HttpRequestFactory.cpp:
 Permission non accordée
| ./.pc/kibipatch/wengophone/src/WengoPhoneBuildId.cpp:   return DD_BUILDID;

I guess you know the build sys better than me, or that you'll be able to
handle that with upstream.

Cheers,

-- 
Cyril Brulebois
--- a/libs/owutil/system/src/unix/Processes.cpp
+++ b/libs/owutil/system/src/unix/Processes.cpp
@@ -22,6 +22,8 @@
 #include <dirent.h>
 #include <fcntl.h>
 
+#include <cstdlib>
+
 #define BUFFERSIZE 1024
 #define FILENAMESIZE 128
 #define PROCESSNAMESIZE 512

Attachment: signature.asc
Description: Digital signature

Reply via email to