summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch')
-rw-r--r--net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch b/net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch
deleted file mode 100644
index 8086961..0000000
--- a/net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-=== modified file 'lib/defaults.c'
---- lib/defaults.c 2011-04-30 18:13:36 +0000
-+++ lib/defaults.c 2011-04-30 18:12:37 +0000
-@@ -19,7 +19,10 @@
-
- #include "list.h"
- #include "defaults.h"
-+#include "config.h"
-+#ifdef WITH_LDAP
- #include "lookup_ldap.h"
-+#endif
- #include "log.h"
- #include "automount.h"
-
-@@ -197,6 +200,7 @@
- return 1;
- }
-
-+#ifdef WITH_LDAP
- void defaults_free_uris(struct list_head *list)
- {
- struct list_head *next;
-@@ -252,9 +256,11 @@
-
- return 1;
- }
-+#endif
-
- struct list_head *defaults_get_uris(void)
- {
-+#ifdef WITH_LDAP
- FILE *f;
- char buf[MAX_LINE_LEN];
- char *res;
-@@ -288,6 +294,9 @@
-
- fclose(f);
- return list;
-+#else
-+ return NULL;
-+#endif
- }
-
- /*
-@@ -450,6 +459,7 @@
- return res;
- }
-
-+#ifdef WITH_LDAP
- struct ldap_schema *defaults_get_default_schema(void)
- {
- struct ldap_schema *schema;
-@@ -645,6 +655,7 @@
-
- return schema;
- }
-+#endif
-
- unsigned int defaults_get_mount_nfs_default_proto(void)
- {
-