tag 667405 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: urg
> Version: 0.8.12-3
> Severity: important
> Tags: sid wheezy
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-4.7

Here's a patch to fix that. No intent to NMU on my side.

Mraw,
KiBi.
diff -Nru urg-0.8.12/debian/changelog urg-0.8.12/debian/changelog
--- urg-0.8.12/debian/changelog	2011-12-10 07:13:50.000000000 +0000
+++ urg-0.8.12/debian/changelog	2012-04-04 17:56:54.000000000 +0000
@@ -1,3 +1,11 @@
+urg (0.8.12-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include
+    (Closes: #667405).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 17:56:33 +0000
+
 urg (0.8.12-3) unstable; urgency=low
 
   * Drop all .la files. (Closes: #633230)
diff -Nru urg-0.8.12/debian/patches/fix-ftbfs-with-gcc-4.7 urg-0.8.12/debian/patches/fix-ftbfs-with-gcc-4.7
--- urg-0.8.12/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ urg-0.8.12/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 17:57:26.000000000 +0000
@@ -0,0 +1,14 @@
+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/667405
+
+--- urg-0.8.12.orig/src/cpp/connection/SerialDevice_lin.cpp
++++ urg-0.8.12/src/cpp/connection/SerialDevice_lin.cpp
+@@ -12,6 +12,7 @@
+ #include <cerrno>
+ #include <cstring>
+ #include <cstdio>
++#include <unistd.h>
+ 
+ 
+ class RawSerialDevice
diff -Nru urg-0.8.12/debian/patches/series urg-0.8.12/debian/patches/series
--- urg-0.8.12/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ urg-0.8.12/debian/patches/series	2012-04-04 17:57:08.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

Reply via email to