mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
dhcpcd: bump to 8.1.0
This commit is contained in:
parent
7f66036baf
commit
6ab6b65a3e
@ -1,5 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
patch -p1 < dhcpcd-fix-musl.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
|
@ -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
|
||||
|
21
core/dhcpcd/patches/dhcpcd-fix-musl.patch
Normal file
21
core/dhcpcd/patches/dhcpcd-fix-musl.patch
Normal file
@ -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 <linux/if_addr.h>
|
||||
#include <linux/if_link.h>
|
||||
#include <linux/if_packet.h>
|
||||
-#include <linux/if_tun.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <linux/filter.h>
|
||||
#include <linux/netlink.h>
|
||||
@@ -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
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
8.0.6 1
|
||||
8.1.0 1
|
||||
|
Loading…
Reference in New Issue
Block a user