severity 673286 serious
tag 673286 + patch
thanks

On Fri, 18 May 2012 20:36:06 +0200, IOhannes zmölnig wrote:

> On 05/17/2012 04:11 PM, Michael Bienia wrote:
> > Adding the missing "#include <unistd.h>" in that file fixes it.
> 
> thanks for the bug-report.
> 
> is this the only occurence of a missing unistd.h (i noted that it is
> missing in recordV4L as well, but this is disabled in debian/ubuntu
> builds anyhow)

I haven't checked further but I can confirm that the attached patch
fixes the FBTFS.


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Kurt Ostbahn & Kombo: Host recht
diff -Nru gem-0.93.3/debian/changelog gem-0.93.3/debian/changelog
--- gem-0.93.3/debian/changelog	2012-02-17 21:16:37.000000000 +0100
+++ gem-0.93.3/debian/changelog	2012-05-22 17:09:23.000000000 +0200
@@ -1,3 +1,11 @@
+gem (1:0.93.3-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with gcc-4.7": add patch that includes the missing header.
+    (Closes: #673286)
+
+ -- gregor herrmann <[email protected]>  Tue, 22 May 2012 16:51:37 +0200
+
 gem (1:0.93.3-3) unstable; urgency=low
 
   * include proper headers on kFreeBSD (Closes: 659747)
diff -Nru gem-0.93.3/debian/patches/gcc-4.7.patch gem-0.93.3/debian/patches/gcc-4.7.patch
--- gem-0.93.3/debian/patches/gcc-4.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ gem-0.93.3/debian/patches/gcc-4.7.patch	2012-05-22 17:09:08.000000000 +0200
@@ -0,0 +1,16 @@
+Description: add missing include to avoid FTBFS with gcc 4.7
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/673286
+Author: gregor herrmann <[email protected]>
+Last-Update: 2012-05-22
+
+--- a/plugins/recordV4L2/recordV4L2.cpp
++++ b/plugins/recordV4L2/recordV4L2.cpp
+@@ -31,6 +31,7 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <stdio.h>
++#include <unistd.h>
+ 
+ #include <stdlib.h>
+ 
diff -Nru gem-0.93.3/debian/patches/series gem-0.93.3/debian/patches/series
--- gem-0.93.3/debian/patches/series	2012-02-17 13:02:32.000000000 +0100
+++ gem-0.93.3/debian/patches/series	2012-05-22 17:05:09.000000000 +0200
@@ -1,2 +1,3 @@
 sanitize-glstack.patch
 fix_kFreeBSD.patch
+gcc-4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to