Need <unistd.h> for getopt()
This commit is contained in:
parent
28f5ec3c55
commit
0d7a886129
14
wpa_supplicant-1.0-wpagui-getopt.patch
Normal file
14
wpa_supplicant-1.0-wpagui-getopt.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up wpa_supplicant-1.0-rc1/wpa_supplicant/wpa_gui-qt4/wpagui.cpp.getopt wpa_supplicant-1.0-rc1/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
|
||||||
|
--- wpa_supplicant-1.0-rc1/wpa_supplicant/wpa_gui-qt4/wpagui.cpp.getopt 2012-01-10 16:28:43.451307760 -0600
|
||||||
|
+++ wpa_supplicant-1.0-rc1/wpa_supplicant/wpa_gui-qt4/wpagui.cpp 2012-01-10 16:28:53.999175893 -0600
|
||||||
|
@@ -12,10 +12,7 @@
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
-#ifdef __MINGW32__
|
||||||
|
-/* Need to get getopt() */
|
||||||
|
#include <unistd.h>
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_NATIVE_WINDOWS
|
||||||
|
#include <windows.h>
|
@ -33,6 +33,8 @@ Patch4: wpa_supplicant-squelch-driver-disconnect-spam.patch
|
|||||||
Patch5: wpa_supplicant-openssl-more-algs.patch
|
Patch5: wpa_supplicant-openssl-more-algs.patch
|
||||||
# distro specific customization for Qt4 build tools, not suitable for upstream
|
# distro specific customization for Qt4 build tools, not suitable for upstream
|
||||||
Patch6: wpa_supplicant-gui-qt4.patch
|
Patch6: wpa_supplicant-gui-qt4.patch
|
||||||
|
# Need <unistd.h> for getopt
|
||||||
|
Patch7: wpa_supplicant-1.0-wpagui-getopt.patch
|
||||||
# Dirty hack for WiMAX
|
# Dirty hack for WiMAX
|
||||||
# http://linuxwimax.org/Download?action=AttachFile&do=get&target=wpa-1.5-README.txt
|
# http://linuxwimax.org/Download?action=AttachFile&do=get&target=wpa-1.5-README.txt
|
||||||
Patch100: wpa_supplicant-0.7.2-generate-libeap-peer.patch
|
Patch100: wpa_supplicant-0.7.2-generate-libeap-peer.patch
|
||||||
@ -96,6 +98,7 @@ Don't use this unless you know what you're doing.
|
|||||||
%patch4 -p1 -b .disconnect-spam
|
%patch4 -p1 -b .disconnect-spam
|
||||||
%patch5 -p1 -b .more-openssl-algs
|
%patch5 -p1 -b .more-openssl-algs
|
||||||
%patch6 -p1 -b .qt4
|
%patch6 -p1 -b .qt4
|
||||||
|
%patch7 -p1 -b .getopt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd wpa_supplicant
|
pushd wpa_supplicant
|
||||||
|
Loading…
Reference in New Issue
Block a user