diff --git a/srcpkgs/iwd/patches/musl-rawmemchr.patch b/srcpkgs/iwd/patches/musl-rawmemchr.patch new file mode 100644 index 00000000000..9b027bc7028 --- /dev/null +++ b/srcpkgs/iwd/patches/musl-rawmemchr.patch @@ -0,0 +1,14 @@ +--- src/wiphy.c.orig 2019-11-16 09:09:02.009699886 -0500 ++++ src/wiphy.c 2019-11-16 09:25:25.188776792 -0500 +@@ -500,7 +500,11 @@ + + if (out_num) + *out_num = ++#if defined(__GLIBC__) + (uint8_t *) rawmemchr(wiphy->supported_rates[band], 0) - ++#else ++ (uint8_t *) memchr(wiphy->supported_rates[band], 0, SIZE_MAX) - ++#endif + wiphy->supported_rates[band]; + + return wiphy->supported_rates[band]; diff --git a/srcpkgs/iwd/template b/srcpkgs/iwd/template index 60c60c5498d..3a30dbf8a49 100644 --- a/srcpkgs/iwd/template +++ b/srcpkgs/iwd/template @@ -1,6 +1,6 @@ # Template file for 'iwd' pkgname=iwd -version=1.0 +version=1.1 revision=1 build_style=gnu-configure configure_args="--disable-systemd-service --enable-pie @@ -14,7 +14,7 @@ maintainer="Peter Bui " license="LGPL-2.1-or-later" homepage="https://iwd.wiki.kernel.org/" distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz" -checksum=7296812b3012b0689a8af879c6028fa9efa5b43b27ecf037355b38f7af1aa167 +checksum=7d58e1e0e81865cb85642f2bdc3e6c3b103d0f86c983021d2e9e113ec72b9598 make_dirs="/var/lib/iwd 0600 root root /etc/iwd 755 root root"