[91322] trunk/dports/net/ldapvi

landonf at macports.org landonf at macports.org
Thu Mar 29 14:02:57 PDT 2012


Revision: 91322
          https://trac.macports.org/changeset/91322
Author:   landonf at macports.org
Date:     2012-03-29 14:02:57 -0700 (Thu, 29 Mar 2012)
Log Message:
-----------
Fix bug in ldapvi.c that triggers a clang build failure.

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

Added Paths:
-----------
    trunk/dports/net/ldapvi/files/patch-ldapvi.c

Modified: trunk/dports/net/ldapvi/Portfile
===================================================================
--- trunk/dports/net/ldapvi/Portfile	2012-03-29 20:07:59 UTC (rev 91321)
+++ trunk/dports/net/ldapvi/Portfile	2012-03-29 21:02:57 UTC (rev 91322)
@@ -32,5 +32,6 @@
 
 patchfiles	GNUmakefile-paths.patch \
         configure-in.patch \
-        lion.diff 
+        lion.diff \
+        patch-ldapvi.c
 

Added: trunk/dports/net/ldapvi/files/patch-ldapvi.c
===================================================================
--- trunk/dports/net/ldapvi/files/patch-ldapvi.c	                        (rev 0)
+++ trunk/dports/net/ldapvi/files/patch-ldapvi.c	2012-03-29 21:02:57 UTC (rev 91322)
@@ -0,0 +1,11 @@
+--- ldapvi.c.orig	2012-03-29 17:00:13.000000000 -0400
++++ ldapvi.c	2012-03-29 17:00:50.000000000 -0400
+@@ -1465,7 +1465,7 @@
+ 	int line = 0;
+ 	int c;
+ 
+-	if (lstat(sasl, &st) == -1) return;
++	if (lstat(sasl, &st) == -1) return 0;
+ 	if ( !(in = fopen(sasl, "r"))) syserr();
+ 
+ 	if (st.st_size > 0) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120329/3fbb2883/attachment.html>


More information about the macports-changes mailing list