diff options
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.patch | 21 |
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 0000000000..104724014d --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch @@ -0,0 +1,21 @@ +Index: autofs-5.0.7/lib/rpc_subs.c +=================================================================== +--- autofs-5.0.7.orig/lib/rpc_subs.c 2012-07-24 23:05:26.000000000 -0700 ++++ autofs-5.0.7/lib/rpc_subs.c 2012-10-28 14:47:49.008382116 -0700 +@@ -34,16 +34,6 @@ + #include <pthread.h> + #include <poll.h> + +-#ifdef WITH_LIBTIRPC +-#undef auth_destroy +-#define auth_destroy(auth) \ +- do { \ +- int refs; \ +- if ((refs = auth_put((auth))) == 0) \ +- ((*((auth)->ah_ops->ah_destroy))(auth));\ +- } while (0) +-#endif +- + #include "mount.h" + #include "rpc_subs.h" + #include "automount.h" |