diff --git a/core/dhcpcd/build b/core/dhcpcd/build index 5e4235c7..dc74149f 100755 --- a/core/dhcpcd/build +++ b/core/dhcpcd/build @@ -1,5 +1,7 @@ #!/bin/sh -e +patch -p1 < dhcpcd-fix-musl.patch + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ diff --git a/core/dhcpcd/checksums b/core/dhcpcd/checksums index 8d7309c8..b4cf008c 100644 --- a/core/dhcpcd/checksums +++ b/core/dhcpcd/checksums @@ -1,2 +1,3 @@ -66b50199ed83bf502af3fab9ac001b417f0fac7e69c92d97a9c41499cebabd4f dhcpcd-8.0.6.tar.xz +0ef8bc9aab04f046e71af3a8b9edc342fedbf7eb18f5b4645e05c4a28d32668b dhcpcd-8.1.0.tar.xz +588cf6f8e51c82dd652949b023b58eacd3c7a6cb6f17cd59b74ac4b682322cfe dhcpcd-fix-musl.patch 533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run diff --git a/core/dhcpcd/patches/dhcpcd-fix-musl.patch b/core/dhcpcd/patches/dhcpcd-fix-musl.patch new file mode 100644 index 00000000..95bb937c --- /dev/null +++ b/core/dhcpcd/patches/dhcpcd-fix-musl.patch @@ -0,0 +1,21 @@ +diff --git a/src/if-linux.c b/src/if-linux.c +index fd47278..6a6c0d0 100644 +--- a/src/if-linux.c ++++ b/src/if-linux.c +@@ -37,7 +37,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -291,7 +290,7 @@ if_tap(const char *ifname) + snprintf(path, sizeof(path), SYS_TUNTAP, ifname); + if (check_proc_hex(path, &n) == -1) + return false; +- return n & IFF_TAP; ++ return n & 0x0002; + } + + bool diff --git a/core/dhcpcd/sources b/core/dhcpcd/sources index 89ff74e2..06da123d 100644 --- a/core/dhcpcd/sources +++ b/core/dhcpcd/sources @@ -1,2 +1,3 @@ -https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.6.tar.xz +https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.1.0.tar.xz +patches/dhcpcd-fix-musl.patch files/dhcpcd.run diff --git a/core/dhcpcd/version b/core/dhcpcd/version index c031c9ef..82d4d517 100644 --- a/core/dhcpcd/version +++ b/core/dhcpcd/version @@ -1 +1 @@ -8.0.6 1 +8.1.0 1