dhcpcd: update to 8.1.1.
Add patch to fix musl builds.
This commit is contained in:
parent
1369c5af6c
commit
ba04e4d1dd
2 changed files with 16 additions and 2 deletions
14
srcpkgs/dhcpcd/patches/musl-if_ether.patch
Normal file
14
srcpkgs/dhcpcd/patches/musl-if_ether.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- src/if-linux.c 2019-10-19 09:28:16.742626805 -0400
|
||||||
|
+++ src/if-linux.c 2019-10-19 09:27:47.962304568 -0400
|
||||||
|
@@ -46,7 +46,11 @@
|
||||||
|
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <net/if.h>
|
||||||
|
+#if defined(__GLIBC__)
|
||||||
|
#include <netinet/if_ether.h>
|
||||||
|
+#else
|
||||||
|
+#include <linux/if_arp.h>
|
||||||
|
+#endif
|
||||||
|
#include <netinet/in_systm.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <net/route.h>
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=8.0.6
|
version=8.1.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
make_check_target=test
|
make_check_target=test
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://roy.marples.name/projects/dhcpcd"
|
homepage="https://roy.marples.name/projects/dhcpcd"
|
||||||
distfiles="https://roy.marples.name/downloads/dhcpcd/dhcpcd-${version}.tar.xz"
|
distfiles="https://roy.marples.name/downloads/dhcpcd/dhcpcd-${version}.tar.xz"
|
||||||
checksum=66b50199ed83bf502af3fab9ac001b417f0fac7e69c92d97a9c41499cebabd4f
|
checksum=485d308fe10febd36b6f936e4260e4ab34a146e4f00a9f7a5509c4377ad5ea82
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
conf_files=/etc/dhcpcd.conf
|
conf_files=/etc/dhcpcd.conf
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue