[84082] trunk/dports/net/ldapvi

yeled at macports.org yeled at macports.org
Fri Sep 16 03:45:47 PDT 2011


Revision: 84082
          http://trac.macports.org/changeset/84082
Author:   yeled at macports.org
Date:     2011-09-16 03:45:42 -0700 (Fri, 16 Sep 2011)
Log Message:
-----------
patch from upstream for new lion libs

Modified Paths:
--------------
    trunk/dports/net/ldapvi/Portfile

Added Paths:
-----------
    trunk/dports/net/ldapvi/files/lion.diff

Modified: trunk/dports/net/ldapvi/Portfile
===================================================================
--- trunk/dports/net/ldapvi/Portfile	2011-09-16 07:21:49 UTC (rev 84081)
+++ trunk/dports/net/ldapvi/Portfile	2011-09-16 10:45:42 UTC (rev 84082)
@@ -4,6 +4,7 @@
 
 name            ldapvi
 version         1.7
+revision        1
 categories      net sysutils
 maintainers     dreamind.de:dreamind
 description     using ldapvi you can update LDAP entries with a text editor
@@ -30,4 +31,6 @@
 destroot.destdir	prefix=${destroot}${prefix}
 
 patchfiles	GNUmakefile-paths.patch \
-		configure-in.patch
+        configure-in.patch \
+        lion.diff 
+

Added: trunk/dports/net/ldapvi/files/lion.diff
===================================================================
--- trunk/dports/net/ldapvi/files/lion.diff	                        (rev 0)
+++ trunk/dports/net/ldapvi/files/lion.diff	2011-09-16 10:45:42 UTC (rev 84082)
@@ -0,0 +1,33 @@
+--- common.h	2007-05-05 12:17:26.000000000 +0200
++++ common.h	2011-09-02 21:40:45.000000000 +0200
+@@ -273,7 +273,7 @@ void pipeview_wait(int pid);
+ char *home_filename(char *name);
+ void read_ldapvi_history(void);
+ void write_ldapvi_history(void);
+-char *getline(char *prompt, char *value);
++char *ldapvi_getline(char *prompt, char *value);
+ char *get_password();
+ char *append(char *a, char *b);
+ void *xalloc(size_t size);
+--- ldapvi.c	2007-05-05 12:17:26.000000000 +0200
++++ ldapvi.c	2011-09-02 21:41:17.000000000 +0200
+@@ -470,7 +470,7 @@ change_mechanism(bind_options *bo)
+ 		bo->authmethod = LDAP_AUTH_SASL;
+ 		puts("Switching to SASL authentication.");
+ 	}
+-	bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech);
++	bo->sasl_mech = ldapvi_getline("SASL mechanism", bo->sasl_mech);
+ }
+ 
+ static int
+--- misc.c	2007-05-05 12:17:26.000000000 +0200
++++ misc.c	2011-09-02 21:41:45.000000000 +0200
+@@ -315,7 +315,7 @@ write_ldapvi_history()
+ }
+ 
+ char *
+-getline(char *prompt, char *value)
++ldapvi_getline(char *prompt, char *value)
+ {
+ 	tdialog d;
+ 	init_dialog(&d, DIALOG_DEFAULT, prompt, value);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110916/2a9802d7/attachment.html>


More information about the macports-changes mailing list