svn commit: r301565 - head/ftp/vsftpd/files
Dirk Meyer
dinoex at FreeBSD.org
Thu Jul 26 15:30:28 UTC 2012
Author: dinoex
Date: Thu Jul 26 15:30:27 2012
New Revision: 301565
URL: http://svn.freebsd.org/changeset/ports/301565
Log:
- Fix build with clang 3.0
PR: 170101
Submitted by: Hung-te Liang
Added:
head/ftp/vsftpd/files/patch-sysstr.c (contents, props changed)
Added: head/ftp/vsftpd/files/patch-sysstr.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/vsftpd/files/patch-sysstr.c Thu Jul 26 15:30:27 2012 (r301565)
@@ -0,0 +1,11 @@
+--- sysstr.c.orig 2011-12-14 18:26:39.000000000 +0800
++++ sysstr.c 2012-07-24 11:27:18.000000000 +0800
+@@ -74,7 +74,7 @@
+ int
+ str_open(const struct mystr* p_str, const enum EVSFSysStrOpenMode mode)
+ {
+- enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown;
++ enum EVSFSysUtilOpenMode open_mode = (enum EVSFSysUtilOpenMode) kVSFSysStrOpenUnknown;
+ switch (mode)
+ {
+ case kVSFSysStrOpenReadOnly:
More information about the svn-ports-head
mailing list