summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch
new file mode 100644
index 000000000..104724014
--- /dev/null
+++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch
@@ -0,0 +1,21 @@
1Index: autofs-5.0.7/lib/rpc_subs.c
2===================================================================
3--- autofs-5.0.7.orig/lib/rpc_subs.c 2012-07-24 23:05:26.000000000 -0700
4+++ autofs-5.0.7/lib/rpc_subs.c 2012-10-28 14:47:49.008382116 -0700
5@@ -34,16 +34,6 @@
6 #include <pthread.h>
7 #include <poll.h>
8
9-#ifdef WITH_LIBTIRPC
10-#undef auth_destroy
11-#define auth_destroy(auth) \
12- do { \
13- int refs; \
14- if ((refs = auth_put((auth))) == 0) \
15- ((*((auth)->ah_ops->ah_destroy))(auth));\
16- } while (0)
17-#endif
18-
19 #include "mount.h"
20 #include "rpc_subs.h"
21 #include "automount.h"