summaryrefslogtreecommitdiff
path: root/user/nfs-utils/nfsdcld.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-20 00:31:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-20 00:31:09 +0000
commitf22c6e26a5c3fb06318d904b932d584713b10601 (patch)
treeb4d867b53305a2de0e36481a91d384848596e970 /user/nfs-utils/nfsdcld.patch
parent2e912faf773d995dac2fd6a06cdc8fe02bcd7a5d (diff)
downloadpackages-f22c6e26a5c3fb06318d904b932d584713b10601.tar.gz
packages-f22c6e26a5c3fb06318d904b932d584713b10601.tar.bz2
packages-f22c6e26a5c3fb06318d904b932d584713b10601.tar.xz
packages-f22c6e26a5c3fb06318d904b932d584713b10601.zip
user/nfs-utils: bump to 2.4.1, fix bugs in nfsdcld
Diffstat (limited to 'user/nfs-utils/nfsdcld.patch')
-rw-r--r--user/nfs-utils/nfsdcld.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/nfs-utils/nfsdcld.patch b/user/nfs-utils/nfsdcld.patch
new file mode 100644
index 000000000..e80956bb8
--- /dev/null
+++ b/user/nfs-utils/nfsdcld.patch
@@ -0,0 +1,21 @@
+--- nfs-utils-2.4.1/utils/nfsdcld/legacy.c.old 2019-06-10 14:34:37.000000000 +0000
++++ nfs-utils-2.4.1/utils/nfsdcld/legacy.c 2019-06-20 00:29:10.493973462 +0000
+@@ -24,6 +24,7 @@
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <limits.h>
+ #include "cld.h"
+ #include "sqlite.h"
+ #include "xlog.h"
+--- nfs-utils-2.4.1/utils/nfsdcld/nfsdcld.c.old 2019-06-10 14:34:37.000000000 +0000
++++ nfs-utils-2.4.1/utils/nfsdcld/nfsdcld.c 2019-06-20 00:28:42.926915402 +0000
+@@ -645,7 +645,7 @@
+ int
+ main(int argc, char **argv)
+ {
+- char arg;
++ int arg;
+ int rc = 0;
+ bool foreground = false;
+ char *progname;