forked from pool/hostapd
Accepting request 202012 from Base:System
- fix host_to_le32 undefined on BigEndian architectures (hostapd-be-host_to_le.patch) (forwarded request 201924 from k0da) OBS-URL: https://build.opensuse.org/request/show/202012 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hostapd?expand=0&rev=24
This commit is contained in:
commit
2a8bddf558
12
hostapd-be-host_to_le.patch
Normal file
12
hostapd-be-host_to_le.patch
Normal 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)
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user