Package: qutecom
Version: 2.2~rc3.hg396~dfsg1-6
Severity: important
Tags: patch
Hey there,
Ubuntu has switched to FFmpeg 0.6 as system FFmpeg in maverick. This
package can currently be found in debian/experimental and will be
uploaded to unstable after squeeze release.
In order to get qutecom built in ubuntu/maverick, I had to apply the
attached patches:
- the first one is taken from upstream and has already proper DEP5 headers
- about the 2nd one I'm not sure why nobody else has experienced
this. The fstat(2) manpage does mention sys/stat.h in its synopsis. I
guess that glibc 2.12 headers got cleaned up even more here, making
that include required.
These two issues will be RC after squeeze release. I still suggest to
include these patches at your convenience even before that, so that
qutecom can be binNMUed then.
Take care!
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid-updates
APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid-proposed'), (500, 'lucid')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-24-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- Begin Message ---
--- a/libs/3rdparty/ffmpeg/CMakeLists-external.txt
+++ b/libs/3rdparty/ffmpeg/CMakeLists-external.txt
@@ -7,3 +7,9 @@ ow_create_project(ffmpeg)
ow_use_public_libraries(
FFMPEG
)
+
+if(LINUX)
+ ow_add_public_definitions(
+ -D__STDC_CONSTANT_MACROS
+ )
+endif(LINUX)
--- a/libs/webcam/src/v4l2/V4L2WebcamDriver.cpp
+++ b/libs/webcam/src/v4l2/V4L2WebcamDriver.cpp
@@ -29,6 +29,8 @@
#include <errno.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <linux/stat.h>
#include <time.h>
#include <iostream>
--- End Message ---
--- a/libs/3rdparty/googlebreakpad/src/common/linux/file_id.cc
+++ b/libs/3rdparty/googlebreakpad/src/common/linux/file_id.cc
@@ -38,6 +38,7 @@
#include <fcntl.h>
#include <link.h>
#include <sys/mman.h>
+#include <sys/stat.h>
#include <string.h>
#include <unistd.h>