tag 667416 patch
thanks

Matthias Klose <[email protected]> (03/04/2012):
> Package: wpasupplicant
> Version: 0.7.3-6
> Severity: important
> Tags: sid wheezy
> User: [email protected]
> Usertags: ftbfs-gcc-4.7

Hi,

please find attached a patch to fix this FTBFS. FTR, I don't plan to NMU.

Mraw,
KiBi.
diff -Nru wpasupplicant-0.7.3/debian/changelog wpasupplicant-0.7.3/debian/changelog
--- wpasupplicant-0.7.3/debian/changelog	2011-12-19 22:31:47.000000000 +0000
+++ wpasupplicant-0.7.3/debian/changelog	2012-04-04 16:27:15.000000000 +0000
@@ -1,3 +1,10 @@
+wpasupplicant (0.7.3-6.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> include (Closes: #667416).
+
+ -- Cyril Brulebois <[email protected]>  Wed, 04 Apr 2012 16:26:58 +0000
+
 wpasupplicant (0.7.3-6) unstable; urgency=low
 
   * add "hostap: Allow linking with libnl-3" from Ben Greear 
diff -Nru wpasupplicant-0.7.3/debian/patches/fix-ftbfs-with-gcc-4.7.patch wpasupplicant-0.7.3/debian/patches/fix-ftbfs-with-gcc-4.7.patch
--- wpasupplicant-0.7.3/debian/patches/fix-ftbfs-with-gcc-4.7.patch	1970-01-01 00:00:00.000000000 +0000
+++ wpasupplicant-0.7.3/debian/patches/fix-ftbfs-with-gcc-4.7.patch	2012-04-04 16:26:49.000000000 +0000
@@ -0,0 +1,10 @@
+--- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
++++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+@@ -29,6 +29,7 @@
+ #include <QProcess>
+ #include <QSettings>
+ #include <QStringList>
++#include <unistd.h>
+ 
+ #include "wpagui.h"
+ #include "dirent.h"
diff -Nru wpasupplicant-0.7.3/debian/patches/series wpasupplicant-0.7.3/debian/patches/series
--- wpasupplicant-0.7.3/debian/patches/series	2011-12-19 19:42:52.000000000 +0000
+++ wpasupplicant-0.7.3/debian/patches/series	2012-04-04 16:26:34.000000000 +0000
@@ -7,3 +7,4 @@
 13_human_readable_signal.patch
 hostap_allow-linking-with-libnl-3.2.patch
 for-MS-CHAP-convert-the-password-from-UTF-8-to-UCS-2.patch
+fix-ftbfs-with-gcc-4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to