summaryrefslogtreecommitdiffstats
path: root/base/libtirpc/libtirpc-0.2.0-no-gss.patch
blob: 6ab54a0c1f758a86dcf89036e0921d69cb2d1879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 *);