SHA256
1
0
forked from pool/hostapd

Accepting request 201924 from home:k0da:ppc

- fix host_to_le32 undefined on BigEndian architectures
  (hostapd-be-host_to_le.patch)

OBS-URL: https://build.opensuse.org/request/show/201924
OBS-URL: https://build.opensuse.org/package/show/Base:System/hostapd?expand=0&rev=22
This commit is contained in:
Marcus Meissner 2013-10-03 10:46:33 +00:00 committed by Git OBS Bridge
parent ee3255a5a0
commit 361ba53956
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: hostapd-2.0/src/utils/common.h
===================================================================
--- hostapd-2.0.orig/src/utils/common.h
+++ hostapd-2.0/src/utils/common.h
@@ -207,6 +207,7 @@ static inline unsigned int wpa_swap_32(u
#define le_to_host32(n) bswap_32(n)
#define be_to_host32(n) (n)
#define host_to_be32(n) (n)
+#define host_to_le32(n) bswap_32(n)
#define le_to_host64(n) bswap_64(n)
#define host_to_le64(n) bswap_64(n)
#define be_to_host64(n) (n)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 2 15:33:43 UTC 2013 - dvaleev@suse.com
- fix host_to_le32 undefined on BigEndian architectures
(hostapd-be-host_to_le.patch)
-------------------------------------------------------------------
Thu Apr 18 08:05:13 UTC 2013 - aj@suse.com

View File

@ -32,6 +32,7 @@ Source: http://hostap.epitest.fi/releases/hostapd-%{version}.tar.gz
Source1: hostapd.service
Patch0: hostapd.diff
Patch1: hostapd-tmp.diff
Patch2: hostapd-be-host_to_le.patch
%{?systemd_requires}
%description
@ -47,6 +48,7 @@ authentication via any ethernet driver.
%setup -q -n hostapd-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
cd hostapd
cp defconfig .config