diff --git a/wpa_supplicant-gcc44.patch b/wpa_supplicant-gcc44.patch new file mode 100644 index 0000000..6e3a152 --- /dev/null +++ b/wpa_supplicant-gcc44.patch @@ -0,0 +1,30 @@ +--- wpa_supplicant-0.6.4.orig//wpa_supplicant/wpa_gui-qt4/networkconfig.cpp 2008-08-10 17:33:12.000000000 +0000 ++++ wpa_supplicant-0.6.4/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp 2009-03-01 15:57:45.000000000 +0000 +@@ -12,6 +12,7 @@ + * See README and COPYING for more details. + */ + ++#include + #include + + #include "networkconfig.h" +--- wpa_supplicant-0.6.4.orig//wpa_supplicant/wpa_gui-qt4/scanresults.cpp 2008-08-10 17:33:12.000000000 +0000 ++++ wpa_supplicant-0.6.4/wpa_supplicant/wpa_gui-qt4/scanresults.cpp 2009-03-01 15:57:29.000000000 +0000 +@@ -12,6 +12,7 @@ + * See README and COPYING for more details. + */ + ++#include + #include "scanresults.h" + #include "wpagui.h" + #include "networkconfig.h" +--- wpa_supplicant-0.6.4.orig//wpa_supplicant/wpa_gui-qt4/wpagui.cpp 2008-08-10 17:33:12.000000000 +0000 ++++ wpa_supplicant-0.6.4/wpa_supplicant/wpa_gui-qt4/wpagui.cpp 2009-03-01 15:57:08.000000000 +0000 +@@ -20,6 +20,7 @@ + #include + #include + ++#include + #include "wpagui.h" + #include "dirent.h" + #include "wpa_ctrl.h" diff --git a/wpa_supplicant.changes b/wpa_supplicant.changes index ece6d0e..7238fd3 100644 --- a/wpa_supplicant.changes +++ b/wpa_supplicant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 1 17:03:04 CET 2009 - coolo@suse.de + +- fix compilation with gcc 4.4 + ------------------------------------------------------------------- Mon Feb 9 16:06:44 CET 2009 - hschaa@suse.de diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec index 4605186..55aed33 100644 --- a/wpa_supplicant.spec +++ b/wpa_supplicant.spec @@ -22,7 +22,7 @@ Name: wpa_supplicant BuildRequires: dbus-1-devel libqt4 libqt4-devel openssl-devel pkg-config readline-devel Url: http://hostap.epitest.fi/wpa_supplicant/ Version: 0.6.4 -Release: 24 +Release: 25 License: BSD 3-Clause; GPL v2 or later Group: Productivity/Networking/Other Summary: WPA supplicant implementation @@ -46,6 +46,7 @@ Patch12: wpa_supplicant-fix_dbus_config.patch Patch13: wpa_supplicant-fix_dbus_config2.patch Patch14: wpa_supplicant-fix_ap_ordering.patch Patch15: wpa_supplicant-respect_no_reply.patch +Patch16: wpa_supplicant-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -95,6 +96,7 @@ cp %{SOURCE1} wpa_supplicant/.config %patch13 -p2 %patch14 -p2 %patch15 -p2 +%patch16 -p1 %build cd wpa_supplicant @@ -139,6 +141,8 @@ install -m 755 wpa_supplicant/wpa_gui-qt4/wpa_gui %{buildroot}%{_sbindir} /usr/sbin/wpa_gui %changelog +* Sun Mar 01 2009 coolo@suse.de +- fix compilation with gcc 4.4 * Mon Feb 09 2009 hschaa@suse.de - Add wpa_supplicant-respect_no_reply.patch which avoids D-Bus errors if no reply was requested by the caller