summaryrefslogtreecommitdiffstats
path: root/base/libtirpc/libtirpc-0.2.0-no-gss.patch
diff options
context:
space:
mode:
Diffstat (limited to 'base/libtirpc/libtirpc-0.2.0-no-gss.patch')
-rw-r--r--base/libtirpc/libtirpc-0.2.0-no-gss.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/libtirpc/libtirpc-0.2.0-no-gss.patch b/base/libtirpc/libtirpc-0.2.0-no-gss.patch
new file mode 100644
index 000000000..6ab54a0c1
--- /dev/null
+++ b/base/libtirpc/libtirpc-0.2.0-no-gss.patch
@@ -0,0 +1,13 @@
+if gss is disabled, then svc_auth_gss_ops won't be available
+
+--- src/svc.c
++++ src/svc.c
+@@ -77,7 +77,7 @@
+
+ extern rwlock_t svc_lock;
+ extern rwlock_t svc_fd_lock;
+-extern struct svc_auth_ops svc_auth_gss_ops;
++extern struct svc_auth_ops svc_auth_gss_ops __attribute__((weak));
+
+ static struct svc_callout *svc_find (rpcprog_t, rpcvers_t,
+ struct svc_callout **, char *);