diff options
author | Sofian Brabez <sbz@FreeBSD.org> | 2012-07-10 11:22:59 +0000 |
---|---|---|
committer | Sofian Brabez <sbz@FreeBSD.org> | 2012-07-10 11:22:59 +0000 |
commit | 255643979da5ef3c96c9c2f944fea4078dc9bf23 (patch) | |
tree | 0f46a2f2f2c250fe92a1e9892dfcabdf1a1dad6d /sysutils/ldapvi/files/patch-ldapvi.c | |
parent | - Update to 1.0.10.001 (diff) |
- Fix build with clang [1]
- Add LICENSE
- Make portlint happy
PR: ports/168838
Submitted by: Oliver Hartmann <ohartman at zedat.fu-berlin.de> [1]
Approved by: myself (maintainer)
Notes
Notes:
svn path=/head/; revision=300718
Diffstat (limited to 'sysutils/ldapvi/files/patch-ldapvi.c')
-rw-r--r-- | sysutils/ldapvi/files/patch-ldapvi.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/ldapvi/files/patch-ldapvi.c b/sysutils/ldapvi/files/patch-ldapvi.c new file mode 100644 index 000000000000..1939f9a11aed --- /dev/null +++ b/sysutils/ldapvi/files/patch-ldapvi.c @@ -0,0 +1,11 @@ +--- ./ldapvi.c.orig 2012-07-09 23:43:28.000000000 +0200 ++++ ./ldapvi.c 2012-07-09 23:43:50.000000000 +0200 +@@ -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) { |