diff --git a/srcpkgs/autofs/patches/musl.patch b/srcpkgs/autofs/patches/musl.patch index 870731b7078..5825d646a84 100644 --- a/srcpkgs/autofs/patches/musl.patch +++ b/srcpkgs/autofs/patches/musl.patch @@ -43,3 +43,17 @@ if (attempt_id) { int len = sizeof(buffer) + 1 + strlen(msg) + 1; +--- include/hash.h.orig 2021-01-31 09:22:19.668222263 +0100 ++++ include/hash.h 2021-01-31 09:22:41.390327622 +0100 +@@ -5,6 +5,11 @@ + + #include + #include ++#include ++ ++#ifndef __GLIBC__ ++#include ++#endif + + /* + * The "GOLDEN_RATIO_PRIME" is used in ifs/btrfs/brtfs_inode.h and diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template index d84e1b8da4b..b306368242d 100644 --- a/srcpkgs/autofs/template +++ b/srcpkgs/autofs/template @@ -1,7 +1,7 @@ # Template file for 'autofs' pkgname=autofs -version=5.1.6 -revision=3 +version=5.1.7 +revision=1 build_style=gnu-configure make_build_args="DONTSTRIP=1" configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin" @@ -13,7 +13,7 @@ maintainer="Helmut Pozimski " license="GPL-2.0-or-later" homepage="https://www.kernel.org/pub/linux/daemons/autofs" distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz" -checksum=dddee3d9b7388ce6cb7432832dfade25b07ef68ad48dcce01cf247b26a10caef +checksum=a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/include/tirpc"