mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
wpa_supplicant: unbreak musl build; patch from Alpine.
This commit is contained in:
parent
3dec450589
commit
7d1b10decf
2 changed files with 20 additions and 1 deletions
19
srcpkgs/wpa_supplicant/patches/musl-fix-types.patch
Normal file
19
srcpkgs/wpa_supplicant/patches/musl-fix-types.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- src/drivers/linux_wext.h
|
||||||
|
+++ src/drivers/linux_wext.h
|
||||||
|
@@ -21,11 +21,11 @@
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <net/if.h>
|
||||||
|
-typedef __uint32_t __u32;
|
||||||
|
-typedef __int32_t __s32;
|
||||||
|
-typedef __uint16_t __u16;
|
||||||
|
-typedef __int16_t __s16;
|
||||||
|
-typedef __uint8_t __u8;
|
||||||
|
+typedef u_int32_t __u32;
|
||||||
|
+typedef int32_t __s32;
|
||||||
|
+typedef u_int16_t __u16;
|
||||||
|
+typedef int16_t __s16;
|
||||||
|
+typedef u_int8_t __u8;
|
||||||
|
#ifndef __user
|
||||||
|
#define __user
|
||||||
|
#endif /* __user */
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wpa_supplicant'
|
# Template file for 'wpa_supplicant'
|
||||||
pkgname=wpa_supplicant
|
pkgname=wpa_supplicant
|
||||||
version=2.3
|
version=2.3
|
||||||
revision=1
|
revision=2
|
||||||
build_wrksrc=$pkgname
|
build_wrksrc=$pkgname
|
||||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue