iwd: fix basename on musl
musl provides a compatibility basename declaration so applications expecting GNU basename could still compile even though musl doesn't provide GNU basename and only POSIX basename.
This commit is contained in:
parent
984d973746
commit
660e6ccff8
|
@ -0,0 +1,13 @@
|
|||
Include libgen.h for POSIX basename as musl doesn provide GNU basename in string.h.
|
||||
|
||||
diff -rup src/wiphy.c.orig src/wiphy.c
|
||||
--- a/src/wiphy.c
|
||||
+++ b/src/wiphy.c
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
+#include <libgen.h>
|
||||
|
||||
#include <ell/ell.h>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'iwd'
|
||||
pkgname=iwd
|
||||
version=2.13
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-systemd-service --enable-pie
|
||||
--enable-dbus-policy --enable-wired"
|
||||
|
|
Loading…
Reference in New Issue