summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-01-18 11:45:13 -0500
committerMike Gilbert <floppym@gentoo.org>2018-01-18 11:45:13 -0500
commitdcbc3b44c131b7b9e2c6f43243f3ca74309942fa (patch)
tree8227ca6e6d69e74d8b8f99ed6938539c92b71d35 /net-fs/nfs-utils/files
parentdefault/linux/amd64/17.1/profile.bashrc: Create a script to die when /lib is ... (diff)
downloadgentoo-dcbc3b44c131b7b9e2c6f43243f3ca74309942fa.tar.gz
gentoo-dcbc3b44c131b7b9e2c6f43243f3ca74309942fa.tar.bz2
gentoo-dcbc3b44c131b7b9e2c6f43243f3ca74309942fa.zip
net-fs/nfs-utils: replace svcgssd patch with upstream version
Closes: https://bugs.gentoo.org/643848 Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch37
1 files changed, 32 insertions, 5 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch b/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch
index 2134cedaea4..77c902f2727 100644
--- a/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch
+++ b/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch
@@ -1,13 +1,40 @@
-https://bugs.gentoo.org/641912
+From 1451d7585bf1c622658ccc04abac7e79ffe40263 Mon Sep 17 00:00:00 2001
+From: Justin Mitchell <jumitche@redhat.com>
+Date: Mon, 8 Jan 2018 09:14:11 -0500
+Subject: [PATCH] svcgssd: Update svcgssd so that it builds
---- nfs-utils-2.3.1/utils/gssd/svcgssd.c
-+++ nfs-utils-2.3.1/utils/gssd/svcgssd.c
-@@ -101,7 +101,7 @@
+Since a15bd948 the --enable-svcgss option no longer builds
+as svcgssd references functions which were changed at that time.
+Fix those, and other function changes since then.
+
+Signed-off-by: Justin Mitchell <jumitche@redhat.com>
+Signed-off-by: Steve Dickson <steved@redhat.com>
+---
+ utils/gssd/svcgssd.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c
+index 3514ae1..23f0c0b 100644
+--- a/utils/gssd/svcgssd.c
++++ b/utils/gssd/svcgssd.c
+@@ -63,6 +63,8 @@
+ #include "err_util.h"
+ #include "conffile.h"
+
++struct state_paths etab;
++
+ void
+ sig_die(int signal)
+ {
+@@ -101,7 +103,7 @@ main(int argc, char *argv[])
char *principal = NULL;
char *s;
- conf_init(NFS_CONFFILE);
-+ conf_init_file(NFS_CONFFILE);
++ conf_init_file(NFS_CONFFILE);
s = conf_get_str("svcgssd", "principal");
if (!s)
+--
+1.8.3.1
+