summaryrefslogtreecommitdiffstats
path: root/base/libtirpc/libtirpc-0.2.0-no-gss.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-30 20:55:10 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-30 20:55:10 +0100
commit87803030291979233e26bc15d8362fd93886f142 (patch)
tree26fe3e541d88d5b0c5d5c9aab7a115d18cabb955 /base/libtirpc/libtirpc-0.2.0-no-gss.patch
parent58c1fa939cc7221036dbf89621c6002d6b9cc212 (diff)
downloadnutyx-extra-87803030291979233e26bc15d8362fd93886f142.tar.gz
nutyx-extra-87803030291979233e26bc15d8362fd93886f142.tar.bz2
nutyx-extra-87803030291979233e26bc15d8362fd93886f142.tar.xz
nutyx-extra-87803030291979233e26bc15d8362fd93886f142.zip
ajout de libtirpc#0.2.0-1
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 *);