tag 667358 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: rinputd > Version: 1.0.4-2 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Here's a patch to fix this FTBFS. No intent to NMU. Mraw, KiBi.
diff -Nru rinputd-1.0.4/debian/changelog rinputd-1.0.4/debian/changelog --- rinputd-1.0.4/debian/changelog 2011-01-15 23:22:12.000000000 +0000 +++ rinputd-1.0.4/debian/changelog 2012-04-05 09:08:48.000000000 +0000 @@ -1,3 +1,11 @@ +rinputd (1.0.4-2.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include + (Closes: #667358). + + -- Cyril Brulebois <k...@debian.org> Thu, 05 Apr 2012 09:08:38 +0000 + rinputd (1.0.4-2) unstable; urgency=low * Fix mutt mangled da.po debconf translation. Closes: #610105 diff -Nru rinputd-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7 rinputd-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7 --- rinputd-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7 1970-01-01 00:00:00.000000000 +0000 +++ rinputd-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7 2012-04-05 09:09:10.000000000 +0000 @@ -0,0 +1,24 @@ +Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include. +Author: Cyril Brulebois <k...@debian.org> +Bug-Debian: http://bugs.debian.org/667358 + +--- rinputd-1.0.4.orig/rinputd/main.cpp ++++ rinputd-1.0.4/rinputd/main.cpp +@@ -37,6 +37,7 @@ + #include <fcntl.h> + #include <getopt.h> + #include <sys/stat.h> ++#include <unistd.h> + + #include "Server.h" + #include "config.h" +--- rinputd-1.0.4.orig/rinputd/LinuxInputDevice.cpp ++++ rinputd-1.0.4/rinputd/LinuxInputDevice.cpp +@@ -33,6 +33,7 @@ + #include <linux/uinput.h> + #include <poll.h> + #include <sys/uio.h> ++#include <unistd.h> + + #include <QHostAddress> + #include <QSocketNotifier> diff -Nru rinputd-1.0.4/debian/patches/series rinputd-1.0.4/debian/patches/series --- rinputd-1.0.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ rinputd-1.0.4/debian/patches/series 2012-04-05 09:08:59.000000000 +0000 @@ -0,0 +1 @@ +fix-ftbfs-with-gcc-4.7
signature.asc
Description: Digital signature