diff options
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.1.0/libtirpc-name-clash-backout.patch')
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs-5.1.0/libtirpc-name-clash-backout.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.1.0/libtirpc-name-clash-backout.patch b/meta-networking/recipes-daemons/autofs/autofs-5.1.0/libtirpc-name-clash-backout.patch new file mode 100644 index 000000000..e93021d56 --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs-5.1.0/libtirpc-name-clash-backout.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | --- | ||
2 | lib/rpc_subs.c | 10 ---------- | ||
3 | 1 file changed, 10 deletions(-) | ||
4 | |||
5 | diff --git a/lib/rpc_subs.c b/lib/rpc_subs.c | ||
6 | index 5d6ead0..c7177f2 100644 | ||
7 | --- a/lib/rpc_subs.c | ||
8 | +++ b/lib/rpc_subs.c | ||
9 | @@ -34,16 +34,6 @@ | ||
10 | #include <poll.h> | ||
11 | |||
12 | #ifdef WITH_LIBTIRPC | ||
13 | -#undef auth_destroy | ||
14 | -#define auth_destroy(auth) \ | ||
15 | - do { \ | ||
16 | - int refs; \ | ||
17 | - if ((refs = auth_put((auth))) == 0) \ | ||
18 | - ((*((auth)->ah_ops->ah_destroy))(auth));\ | ||
19 | - } while (0) | ||
20 | -#endif | ||
21 | - | ||
22 | -#ifdef WITH_LIBTIRPC | ||
23 | const rpcprog_t rpcb_prog = RPCBPROG; | ||
24 | const rpcvers_t rpcb_version = RPCBVERS; | ||
25 | #else | ||
26 | -- | ||
27 | 1.7.10.4 | ||
28 | |||