aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-07-14 01:56:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-07-14 01:56:48 +0000
commitd0dc1d02d736ab1466a8a9b04358484286843724 (patch)
tree1dde19030bb20dc57c9916ab951b0c2771209c76 /ftp
parent3052b79df77e01ad4b9484e843f9de79bb430373 (diff)
downloadports-d0dc1d02d736ab1466a8a9b04358484286843724.tar.gz
ports-d0dc1d02d736ab1466a8a9b04358484286843724.zip
Fix build with recent byacc on head after r363170.
PR: 247522
Notes
Notes: svn path=/head/; revision=542176
Diffstat (limited to 'ftp')
-rw-r--r--ftp/smbftpd/files/patch-ftpcmd.y11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/smbftpd/files/patch-ftpcmd.y b/ftp/smbftpd/files/patch-ftpcmd.y
new file mode 100644
index 000000000000..04ad5f04393c
--- /dev/null
+++ b/ftp/smbftpd/files/patch-ftpcmd.y
@@ -0,0 +1,11 @@
+--- ftpcmd.y.orig 2009-01-07 09:13:19 UTC
++++ ftpcmd.y
+@@ -77,6 +77,8 @@ static const char rcsid[] =
+ #include "cmd.h"
+ #include "ssl.h"
+
++#define yylex ftpcmd_yylex
++
+ extern smbftpd_session_t smbftpd_session;
+ extern smbftpd_conf_t smbftpd_conf;
+ extern union sockunion data_dest, his_addr;