[packages/wpa_supplicant] - rel 2; fix build
arekm
arekm at pld-linux.org
Tue Aug 14 17:10:31 CEST 2012
commit 7cd8049cc5dad7d05c998b368b82dc057febda0b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 14 17:10:28 2012 +0200
- rel 2; fix build
wpa_supplicant-1.0-wpagui-getopt.patch | 14 ++++++++++++++
wpa_supplicant.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/wpa_supplicant.spec b/wpa_supplicant.spec
index c458719..3facbb3 100644
--- a/wpa_supplicant.spec
+++ b/wpa_supplicant.spec
@@ -16,7 +16,7 @@ Summary: Linux WPA/WPA2/RSN/IEEE 802.1X supplicant
Summary(pl.UTF-8): Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
Name: wpa_supplicant
Version: 1.0
-Release: 1
+Release: 2
License: GPL v2
Group: Networking
Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
@@ -30,6 +30,7 @@ Patch2: %{name}-lrelease.patch
# http://www.linuxwimax.org/Download
Patch3: %{name}-0.7.2-generate-libeap-peer.patch
Patch4: dbus-services.patch
+Patch5: wpa_supplicant-1.0-wpagui-getopt.patch
URL: http://hostap.epitest.fi/wpa_supplicant/
%{?with_dbus:BuildRequires: dbus-devel}
BuildRequires: libnl-devel >= 1:3.2
@@ -133,6 +134,7 @@ Pliki programistyczne dla biblioteki eap.
%patch2 -p0
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__sed} -i -e 's, at LIB@,%{_lib},' src/eap_peer/libeap0.pc
diff --git a/wpa_supplicant-1.0-wpagui-getopt.patch b/wpa_supplicant-1.0-wpagui-getopt.patch
new file mode 100644
index 0000000..ed1930b
--- /dev/null
+++ b/wpa_supplicant-1.0-wpagui-getopt.patch
@@ -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>
More information about the pld-cvs-commit
mailing list