From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libtirpc/files: libtirpc-0.2.0-no-gss.patch |
Date: | Sat, 30 May 2009 21:08:05 |
Message-Id: | E1MAVmc-0005MX-SL@stork.gentoo.org |
1 | vapier 09/05/30 21:08:02 |
2 | |
3 | Added: libtirpc-0.2.0-no-gss.patch |
4 | Log: |
5 | Fix link error when USE=-gss. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtirpc/files/libtirpc-0.2.0-no-gss.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libtirpc-0.2.0-no-gss.patch |
15 | =================================================================== |
16 | if gss is disabled, then svc_auth_gss_ops won't be available |
17 | |
18 | --- src/svc.c |
19 | +++ src/svc.c |
20 | @@ -77,7 +77,7 @@ |
21 | |
22 | extern rwlock_t svc_lock; |
23 | extern rwlock_t svc_fd_lock; |
24 | -extern struct svc_auth_ops svc_auth_gss_ops; |
25 | +extern struct svc_auth_ops svc_auth_gss_ops __attribute__((weak)); |
26 | |
27 | static struct svc_callout *svc_find (rpcprog_t, rpcvers_t, |
28 | struct svc_callout **, char *); |