summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc-name-clash-backout.patch
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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 0000000000..104724014d
--- /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"