This commit is contained in:
parent
6ef88f880d
commit
aeef14dc92
34
wpa_supplicant-0.5.8-gcc43.patch
Normal file
34
wpa_supplicant-0.5.8-gcc43.patch
Normal file
@ -0,0 +1,34 @@
|
||||
diff -Naur wpa_supplicant-0.5.8.org/wpa_gui/networkconfig.ui.h wpa_supplicant-0.5.8/wpa_gui/networkconfig.ui.h
|
||||
--- wpa_supplicant-0.5.8.org/wpa_gui/networkconfig.ui.h 2007-11-12 14:09:15.880153000 +0100
|
||||
+++ wpa_supplicant-0.5.8/wpa_gui/networkconfig.ui.h 2007-11-12 14:16:58.865706000 +0100
|
||||
@@ -10,6 +10,7 @@
|
||||
** destructor.
|
||||
*****************************************************************************/
|
||||
|
||||
+#include <cstdlib>
|
||||
|
||||
enum {
|
||||
AUTH_NONE = 0,
|
||||
diff -Naur wpa_supplicant-0.5.8.org/wpa_gui/userdatarequest.ui.h wpa_supplicant-0.5.8/wpa_gui/userdatarequest.ui.h
|
||||
--- wpa_supplicant-0.5.8.org/wpa_gui/userdatarequest.ui.h 2007-11-12 14:09:15.910119000 +0100
|
||||
+++ wpa_supplicant-0.5.8/wpa_gui/userdatarequest.ui.h 2007-11-12 14:14:20.493231000 +0100
|
||||
@@ -10,6 +10,8 @@
|
||||
** destructor.
|
||||
*****************************************************************************/
|
||||
|
||||
+#include <cstdlib>
|
||||
+
|
||||
int UserDataRequest::setParams(WpaGui *_wpagui, const char *reqMsg)
|
||||
{
|
||||
char *tmp, *pos, *pos2;
|
||||
diff -Naur wpa_supplicant-0.5.8.org/wpa_gui/wpagui.ui.h wpa_supplicant-0.5.8/wpa_gui/wpagui.ui.h
|
||||
--- wpa_supplicant-0.5.8.org/wpa_gui/wpagui.ui.h 2007-11-12 14:09:15.923117000 +0100
|
||||
+++ wpa_supplicant-0.5.8/wpa_gui/wpagui.ui.h 2007-11-12 14:17:46.359161000 +0100
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
+#include <cstdlib>
|
||||
|
||||
void WpaGui::init()
|
||||
{
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 12 14:24:33 CET 2007 - ssommer@suse.de
|
||||
|
||||
- fix build with gcc 4.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 24 16:58:12 CEST 2007 - jg@suse.de
|
||||
|
||||
|
@ -15,14 +15,15 @@ BuildRequires: libdrm-devel libjpeg-devel openssl-devel qt3-devel readline-deve
|
||||
%ifarch %ix86 x86_64
|
||||
BuildRequires: madwifi-devel
|
||||
%endif
|
||||
URL: http://hostap.epitest.fi/wpa_supplicant/
|
||||
Url: http://hostap.epitest.fi/wpa_supplicant/
|
||||
Version: 0.5.8
|
||||
Release: 1
|
||||
License: BSD 3-Clause, GPL v2 or later
|
||||
Release: 51
|
||||
License: BSD 3-Clause; GPL v2 or later
|
||||
Group: Productivity/Networking/Other
|
||||
Summary: WPA supplicant implementation
|
||||
Source: http://hostap.epitest.fi/releases/wpa_supplicant-%{version}.tar.bz2
|
||||
Source1: config
|
||||
Patch0: wpa_supplicant-0.5.8-gcc43.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -55,6 +56,7 @@ Authors:
|
||||
%prep
|
||||
%setup -n wpa_supplicant-%{version}
|
||||
cp %{SOURCE1} .config
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%ifarch %ix86 x86_64
|
||||
@ -83,8 +85,9 @@ install -m 755 wpa_gui/wpa_gui %{buildroot}%{_sbindir}
|
||||
%files gui
|
||||
%defattr(-,root,root)
|
||||
/usr/sbin/wpa_gui
|
||||
|
||||
%changelog
|
||||
* Mon Nov 12 2007 - ssommer@suse.de
|
||||
- fix build with gcc 4.3
|
||||
* Tue Jul 24 2007 - jg@suse.de
|
||||
- update to version 0.5.8, changes:
|
||||
* updated driver_wext.c to build with the current wireless-dev.git
|
||||
|
Loading…
x
Reference in New Issue
Block a user