summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc1
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-linux_wext-Fix-types-for-musl.patch38
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index f95e91c999..dae0606876 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
@@ -25,6 +25,7 @@ SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
25 file://wpa_supplicant.conf-sane \ 25 file://wpa_supplicant.conf-sane \
26 file://99_wpa_supplicant \ 26 file://99_wpa_supplicant \
27 file://fix-libnl3-host-contamination.patch \ 27 file://fix-libnl3-host-contamination.patch \
28 file://0001-linux_wext-Fix-types-for-musl.patch \
28 " 29 "
29SRC_URI[md5sum] = "f2ed8fef72cf63d8d446a2d0a6da630a" 30SRC_URI[md5sum] = "f2ed8fef72cf63d8d446a2d0a6da630a"
30SRC_URI[sha256sum] = "eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a" 31SRC_URI[sha256sum] = "eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a"
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-linux_wext-Fix-types-for-musl.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-linux_wext-Fix-types-for-musl.patch
new file mode 100644
index 0000000000..49a988b676
--- /dev/null
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-linux_wext-Fix-types-for-musl.patch
@@ -0,0 +1,38 @@
1From 159db445dc4cb0af5f6ad85f3a146ad137db5057 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 3 Apr 2015 20:38:21 -0700
4Subject: [PATCH] linux_wext: Fix types for musl
5
6| ../src/drivers/linux_wext.h:24:9: error: unknown type name '__uint32_t'
7| typedef __uint32_t __u32;
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10Upstream-Status: Pending
11---
12 src/drivers/linux_wext.h | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15diff --git a/src/drivers/linux_wext.h b/src/drivers/linux_wext.h
16index 55cf955..e66df91 100644
17--- a/src/drivers/linux_wext.h
18+++ b/src/drivers/linux_wext.h
19@@ -21,11 +21,11 @@
20
21 #include <sys/types.h>
22 #include <net/if.h>
23-typedef __uint32_t __u32;
24-typedef __int32_t __s32;
25-typedef __uint16_t __u16;
26-typedef __int16_t __s16;
27-typedef __uint8_t __u8;
28+typedef u_int32_t __u32;
29+typedef int32_t __s32;
30+typedef u_int16_t __u16;
31+typedef int16_t __s16;
32+typedef u_int8_t __u8;
33 #ifndef __user
34 #define __user
35 #endif /* __user */
36--
372.1.4
38