aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-07-26 15:30:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-07-26 15:30:27 +0000
commitcd504b8e7b90965b45fa4b02422ae11b11740bf6 (patch)
tree4bfe21d00ce8b9d2f714b1f60fecb0c08a5e8ca4 /ftp/vsftpd
parent4953a538fe52ee7faa33ea9c7ae726cb8d74cdad (diff)
downloadports-cd504b8e7b90965b45fa4b02422ae11b11740bf6.tar.gz
ports-cd504b8e7b90965b45fa4b02422ae11b11740bf6.zip
Notes
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/files/patch-sysstr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/vsftpd/files/patch-sysstr.c b/ftp/vsftpd/files/patch-sysstr.c
new file mode 100644
index 000000000000..851dded80ccf
--- /dev/null
+++ b/ftp/vsftpd/files/patch-sysstr.c
@@ -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: