diff options
author | Peter Volkov <pva@gentoo.org> | 2011-04-03 11:11:12 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-04-03 11:11:12 +0000 |
commit | d167b56b27890e9ebf90b7a4e1f6bd19f7de612d (patch) | |
tree | a90d2c0b4b6932398aa42c85a7ff27a0c7bcaac1 /net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch | |
parent | net-fs/autofs: revbump for bug 346537. (diff) | |
download | pva-d167b56b27890e9ebf90b7a4e1f6bd19f7de612d.tar.gz pva-d167b56b27890e9ebf90b7a4e1f6bd19f7de612d.tar.bz2 pva-d167b56b27890e9ebf90b7a4e1f6bd19f7de612d.zip |
net-fs/autofs: moved to the tree
svn path=/; revision=479
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.patch | 58 |
1 files changed, 0 insertions, 58 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 d90ef94..0000000 --- a/net-fs/autofs/files/autofs-5.0.5-fix-building-without-ldap.patch +++ /dev/null @@ -1,58 +0,0 @@ ---- lib/defaults.c.orig -+++ lib/defaults.c -@@ -19,7 +19,9 @@ - - #include "list.h" - #include "defaults.h" -+#ifdef HAVE_LDAP - #include "lookup_ldap.h" -+#endif - #include "log.h" - #include "automount.h" - -@@ -197,6 +199,7 @@ static int parse_line(char *line, char * - return 1; - } - -+#ifdef HAVE_LDAP - void defaults_free_uris(struct list_head *list) - { - struct list_head *next; -@@ -252,9 +255,11 @@ static unsigned int add_uris(char *value - - return 1; - } -+#endif - - struct list_head *defaults_get_uris(void) - { -+#ifdef HAVE_LDAP - FILE *f; - char buf[MAX_LINE_LEN]; - char *res; -@@ -288,6 +292,9 @@ struct list_head *defaults_get_uris(void - - fclose(f); - return list; -+#else -+ return NULL; -+#endif - } - - /* -@@ -450,6 +457,7 @@ unsigned int defaults_get_ldap_network_t - return res; - } - -+#ifdef HAVE_LDAP - struct ldap_schema *defaults_get_default_schema(void) - { - struct ldap_schema *schema; -@@ -645,6 +653,7 @@ struct ldap_schema *defaults_get_schema( - - return schema; - } -+#endif - - unsigned int defaults_get_mount_nfs_default_proto(void) - { |