summaryrefslogtreecommitdiff
path: root/net/socks5/files/patch-clients::ftp::domacro.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2008-06-19 08:38:38 +0000
committerEd Schouten <ed@FreeBSD.org>2008-06-19 08:38:38 +0000
commit672ff8e5627bf5a281da316c1c9f2aee0f8e6ff1 (patch)
treefe61cecaaf16210e4c00118be39188d602bad7cb /net/socks5/files/patch-clients::ftp::domacro.c
parentMake editors/beav use termios instead of sgtty. (diff)
Make net/socks5 compile again after the removal of sgtty.
The net/socks5 port includes <ttychars.h>, even though it is not needed. This header file got removed with the sgtty interface. Also make the port prefer <termios.h> over <sys/termios.h> PR: 124480 Approved by: philip (mentor)
Notes
Notes: svn path=/head/; revision=215244
Diffstat (limited to 'net/socks5/files/patch-clients::ftp::domacro.c')
-rw-r--r--net/socks5/files/patch-clients::ftp::domacro.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/socks5/files/patch-clients::ftp::domacro.c b/net/socks5/files/patch-clients::ftp::domacro.c
new file mode 100644
index 000000000000..8aadc65eba64
--- /dev/null
+++ b/net/socks5/files/patch-clients::ftp::domacro.c
@@ -0,0 +1,11 @@
+--- clients/ftp/domacro.c
++++ clients/ftp/domacro.c
+@@ -42,7 +42,7 @@
+ #include <errno.h>
+ #include <ctype.h>
+
+-#if !defined(SCO) && !defined(_SEQUENT_) && !defined(linux)
++#if !defined(SCO) && !defined(_SEQUENT_) && !defined(linux) && !defined(__FreeBSD__)
+ #include <sys/ttychars.h>
+ #endif
+