diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-11 12:40:16 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-11 12:40:33 +0100 |
commit | d603c7b09ac6232d452a8e7a6d7360281d9a8e2c (patch) | |
tree | c409465533d929c33b466c88ccaf7277a152949f /net-fs/nfs-utils/files | |
parent | net-fs/nfs-utils: Bump to version 2.1.1 (diff) | |
download | gentoo-d603c7b09ac6232d452a8e7a6d7360281d9a8e2c.tar.gz gentoo-d603c7b09ac6232d452a8e7a6d7360281d9a8e2c.tar.bz2 gentoo-d603c7b09ac6232d452a8e7a6d7360281d9a8e2c.zip |
net-fs/nfs-utils: Removed old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.3.2-background-statd.patch | 30 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.3.3-sysmacros.patch | 78 |
2 files changed, 0 insertions, 108 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-1.3.2-background-statd.patch b/net-fs/nfs-utils/files/nfs-utils-1.3.2-background-statd.patch deleted file mode 100644 index 393f70b87a99..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.3.2-background-statd.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 17a3e5bffb7110d46de1bf42b64b90713ff5ea50 Mon Sep 17 00:00:00 2001 -From: Chris Mayo <aklhfex@gmail.com> -Date: Sun, 1 Feb 2015 12:03:46 -0500 -Subject: [PATCH] statd: Fix test for foreground mode - -daemon_init parameter has the opposite sense -to code removed in commit 7addf9d - -Signed-off-by: Chris Mayo <aklhfex@gmail.com> -Signed-off-by: Steve Dickson <steved@redhat.com> ---- - utils/statd/statd.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utils/statd/statd.c b/utils/statd/statd.c -index 60ce6d1..2b7a167 100644 ---- a/utils/statd/statd.c -+++ b/utils/statd/statd.c -@@ -393,7 +393,7 @@ int main (int argc, char **argv) - simulator (--argc, ++argv); /* simulator() does exit() */ - #endif - -- daemon_init(!(run_mode & MODE_NODAEMON)); -+ daemon_init((run_mode & MODE_NODAEMON)); - - if (run_mode & MODE_LOG_STDERR) { - xlog_syslog(0); --- -2.2.2 - diff --git a/net-fs/nfs-utils/files/nfs-utils-1.3.3-sysmacros.patch b/net-fs/nfs-utils/files/nfs-utils-1.3.3-sysmacros.patch deleted file mode 100644 index 638442563c4c..000000000000 --- a/net-fs/nfs-utils/files/nfs-utils-1.3.3-sysmacros.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 187f0e8298a3dd405b5aa817df129198d6f66eeb Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Thu, 14 Apr 2016 00:01:05 -0400 -Subject: [PATCH nfs-utils] fix building w/newer C libraries - -Linux C libraries are moving away from implicitly including the header -sys/sysmacros.h via sys/types.h. We would like to do this for glibc -now, but others (musl/etc...) have been doing it already. This means -any code using major/minor/makedevs functions will fail to build when -they don't include that header. - -Leverage the AC_HEADER_MAJOR macro that configure is already using to -pull in the right header. - -Signed-off-by: Mike Frysinger <vapier@gentoo.org> ---- - support/include/xcommon.h | 6 ++++++ - support/nfs/nfsexport.c | 1 + - utils/blkmapd/device-discovery.c | 1 + - utils/mountd/cache.c | 1 + - 4 files changed, 9 insertions(+) - -diff --git a/support/include/xcommon.h b/support/include/xcommon.h -index d1a4b18..23c9a13 100644 ---- a/support/include/xcommon.h -+++ b/support/include/xcommon.h -@@ -17,6 +17,12 @@ - #include <stdlib.h> - #include <string.h> - -+#ifdef MAJOR_IN_MKDEV -+#include <sys/mkdev.h> -+#elif defined(MAJOR_IN_SYSMACROS) -+#include <sys/sysmacros.h> -+#endif -+ - #define streq(s, t) (strcmp ((s), (t)) == 0) - - /* Functions in sundries.c that are used in mount.c and umount.c */ -diff --git a/support/nfs/nfsexport.c b/support/nfs/nfsexport.c -index afd7c90..4b13265 100644 ---- a/support/nfs/nfsexport.c -+++ b/support/nfs/nfsexport.c -@@ -19,6 +19,7 @@ - - #include "nfslib.h" - #include "misc.h" -+#include "xcommon.h" - - /* if /proc/net/rpc/... exists, then - * write to it, as that interface is more stable. -diff --git a/utils/blkmapd/device-discovery.c b/utils/blkmapd/device-discovery.c -index b010628..052d582 100644 ---- a/utils/blkmapd/device-discovery.c -+++ b/utils/blkmapd/device-discovery.c -@@ -51,6 +51,7 @@ - #include <libdevmapper.h> - - #include "device-discovery.h" -+#include "xcommon.h" - - #define EVENT_SIZE (sizeof(struct inotify_event)) - #define EVENT_BUFSIZE (1024 * EVENT_SIZE) -diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c -index 7847446..ec86a22 100644 ---- a/utils/mountd/cache.c -+++ b/utils/mountd/cache.c -@@ -31,6 +31,7 @@ - #include "mountd.h" - #include "fsloc.h" - #include "pseudoflavors.h" -+#include "xcommon.h" - - #ifdef USE_BLKID - #include "blkid/blkid.h" --- -2.7.4 - |