Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 264707 Details for
Bug 346537
net-fs/autofs: 5.0.5-r1 rev bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable ldap specific code when emerging without ldap support
autofs-5.0.5-fix-building-without-ldap.patch (text/plain), 1.02 KB, created by
Dustin Polke
on 2011-03-04 13:14:16 UTC
(
hide
)
Description:
Disable ldap specific code when emerging without ldap support
Filename:
MIME Type:
Creator:
Dustin Polke
Created:
2011-03-04 13:14:16 UTC
Size:
1.02 KB
patch
obsolete
>--- 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) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 346537
:
255195
|
255197
|
255199
|
255201
|
255331
|
259771
|
259773
|
264703
|
264705
| 264707