diff options
author | 2009-05-30 21:08:02 +0000 | |
---|---|---|
committer | 2009-05-30 21:08:02 +0000 | |
commit | 24d536c5847ca029e0b30bf1a5b875bd88fa8f0b (patch) | |
tree | 6f6c40506474c5c11f5a0dc605aafd7dcae84ecb /net-libs/libtirpc/files | |
parent | Version bump. (diff) | |
download | historical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.tar.gz historical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.tar.bz2 historical-24d536c5847ca029e0b30bf1a5b875bd88fa8f0b.zip |
Fix link error when USE=-gss.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-libs/libtirpc/files')
-rw-r--r-- | net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch b/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch new file mode 100644 index 000000000000..6ab54a0c1f75 --- /dev/null +++ b/net-libs/libtirpc/files/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 *); |