Bug#667405: urg: ftbfs with GCC-4.7

2012-04-04 Thread Albert Huang
Excellent, thanks.

Albert

On Wed, Apr 4, 2012 at 1:58 PM, Cyril Brulebois  wrote:
> tag 667405 patch
> thanks
>
> Matthias Klose  (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.
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk98i8oACgkQeGfVPHR5Nd1m0wCgmt/U톱斖嫼衒ルᚐ
> xPMAn3O6nez06P1cc/ewJWrMmZi7cXO2
> =FoLz
> -END PGP SIGNATURE-
>



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#667405: urg: ftbfs with GCC-4.7

2012-04-04 Thread Cyril Brulebois
tag 667405 patch
thanks

Matthias Klose  (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.0 +
+++ urg-0.8.12/debian/changelog	2012-04-04 17:56:54.0 +
@@ -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  include
+(Closes: #667405).
+
+ -- Cyril Brulebois   Wed, 04 Apr 2012 17:56:33 +
+
 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.0 +
+++ urg-0.8.12/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 17:57:26.0 +
@@ -0,0 +1,14 @@
+Description: Fix FTBFS with gcc 4.7 by fixing missing  include.
+Author: Cyril Brulebois 
+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 
+ #include 
+ #include 
++#include 
+ 
+ 
+ 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.0 +
+++ urg-0.8.12/debian/patches/series	2012-04-04 17:57:08.0 +
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7


signature.asc
Description: Digital signature