mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
autofs: fix basename ptr truncate to int
This commit is contained in:
parent
3dc2ebe30a
commit
296b4c9300
2 changed files with 31 additions and 1 deletions
30
srcpkgs/autofs/patches/implicit-function-decl.patch
Normal file
30
srcpkgs/autofs/patches/implicit-function-decl.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- a/daemon/master.c
|
||||
+++ b/daemon/master.c
|
||||
@@ -17,6 +17,7 @@
|
||||
*
|
||||
* ----------------------------------------------------------------------- */
|
||||
|
||||
+#include <libgen.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <memory.h>
|
||||
--- a/daemon/automount.c
|
||||
+++ b/daemon/automount.c
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <dirent.h>
|
||||
#include <getopt.h>
|
||||
+#include <libgen.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
--- a/modules/lookup_file.c
|
||||
+++ b/modules/lookup_file.c
|
||||
@@ -13,6 +13,7 @@
|
||||
*
|
||||
* ----------------------------------------------------------------------- */
|
||||
|
||||
+#include <libgen.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'autofs'
|
||||
pkgname=autofs
|
||||
version=5.1.9
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
make_build_args="DONTSTRIP=1"
|
||||
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue