autofs: update to 5.1.1.

This commit is contained in:
Juan RP 2015-04-22 07:46:52 +02:00
parent 3bac5ac9a8
commit 78a9f67fa0
2 changed files with 3 additions and 22 deletions

View file

@ -1,18 +0,0 @@
autofs-5.1.0 - fix compile error in defaults.c
From: Ian Kent <raven@themaw.net>
Puzzling, suddenly I'm getting a compile error for defaults.c due
to a lack of including stdarg.h.
diff --git a/lib/defaults.c b/lib/defaults.c
index 2b03ea2..d29a976 100644
--- lib/defaults.c
+++ lib/defaults.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <sys/utsname.h>
#include <sys/stat.h>
+#include <stdarg.h>
#include "config.h"
#include "list.h"

View file

@ -1,7 +1,7 @@
# Template file for 'autofs'
pkgname=autofs
version=5.1.0
revision=4
version=5.1.1
revision=1
build_style=gnu-configure
conf_files="
/etc/autofs/auto.master
@ -9,7 +9,6 @@ conf_files="
/etc/autofs/autofs.conf
/etc/autofs/autofs_ldap_auth.conf"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs"
make_build_args="STRIP=:"
hostmakedepends="flex kmod"
makedepends="libtirpc-devel"
short_desc="A kernel-based automounter for Linux"
@ -17,7 +16,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="${KERNEL_SITE}/daemons/autofs"
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
checksum=f4b343797e6df03627a9fd41bda6fd85acb84aa3fdd15694eec03ec90a52bc27
checksum=e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3
pre_build() {
sed -i "s,/usr/include/tirpc,${XBPS_CROSS_BASE}/usr/include/tirpc,g" Makefile.rules