wpa_supplicant: update to 2.4.

This commit is contained in:
Juan RP 2015-03-16 07:56:15 +01:00
parent 7ceaa9cc79
commit 71da9d9fb4
2 changed files with 4 additions and 23 deletions

View File

@ -1,19 +0,0 @@
--- 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 */

View File

@ -1,14 +1,14 @@
# Template file for 'wpa_supplicant'
pkgname=wpa_supplicant
version=2.3
revision=8
version=2.4
revision=1
build_wrksrc=$pkgname
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://w1.fi/wpa_supplicant/"
distfiles="http://w1.fi/releases/$pkgname-$version.tar.gz"
checksum=eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a
checksum=058dc832c096139a059e6df814080f50251a8d313c21b13364c54a1e70109122
build_pie=yes
hostmakedepends="pkg-config"
@ -23,7 +23,7 @@ pre_build() {
}
do_build() {
export CFLAGS+=" $(pkg-config --cflags libnl-3.0) $CPPFLAGS"
make ${make_build_args} V=1 PREFIX=/usr BINDIR=/usr/bin
make ${makejobs} V=1 PREFIX=/usr BINDIR=/usr/bin
}
do_install() {
make PREFIX=/usr BINDIR=/usr/bin DESTDIR=${DESTDIR} install