diff options
author | Tom Canich <tcanich@canich.net> | 2011-07-17 06:48:43 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-07-21 22:52:09 -0500 |
commit | 47ac89cd6c90eff8dcef43bf03a63d3f3fad8faa (patch) | |
tree | c7cf44f7d892087465dfede02aae92a8beb39c6f /network/ldapvi/ldapvi_getline.patch | |
parent | 26387dd9b8f192b1506238ec899668e19240315c (diff) | |
download | slackbuilds-47ac89cd6c90eff8dcef43bf03a63d3f3fad8faa.tar.gz |
network/ldapvi: Added (interactive LDAP client for Unix terminals)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/ldapvi/ldapvi_getline.patch')
-rw-r--r-- | network/ldapvi/ldapvi_getline.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/network/ldapvi/ldapvi_getline.patch b/network/ldapvi/ldapvi_getline.patch new file mode 100644 index 0000000000..67df9b79a9 --- /dev/null +++ b/network/ldapvi/ldapvi_getline.patch @@ -0,0 +1,33 @@ +--- common.h.orig 2011-06-02 20:54:25.000000000 -0500 ++++ common.h 2011-06-02 20:54:48.000000000 -0500 +@@ -273,7 +273,7 @@ + char *home_filename(char *name); + void read_ldapvi_history(void); + void write_ldapvi_history(void); +-char *getline(char *prompt, char *value); ++char *__getline(char *prompt, char *value); + char *get_password(); + char *append(char *a, char *b); + void *xalloc(size_t size); +--- ldapvi.c.orig 2011-06-02 20:55:20.000000000 -0500 ++++ ldapvi.c 2011-06-02 20:55:29.000000000 -0500 +@@ -470,7 +470,7 @@ + bo->authmethod = LDAP_AUTH_SASL; + puts("Switching to SASL authentication."); + } +- bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech); ++ bo->sasl_mech = __getline("SASL mechanism", bo->sasl_mech); + } + + static int +--- misc.c.orig 2011-06-02 20:54:30.000000000 -0500 ++++ misc.c 2011-06-02 20:55:13.000000000 -0500 +@@ -315,7 +315,7 @@ + } + + char * +-getline(char *prompt, char *value) ++__getline(char *prompt, char *value) + { + tdialog d; + init_dialog(&d, DIALOG_DEFAULT, prompt, value); |