aboutsummaryrefslogtreecommitdiff
path: root/net/socks5
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
parent556374bb28977fd2ef0b900bdee0887a7bd45bc1 (diff)
downloadports-672ff8e5627bf5a281da316c1c9f2aee0f8e6ff1.tar.gz
ports-672ff8e5627bf5a281da316c1c9f2aee0f8e6ff1.zip
Notes
Diffstat (limited to 'net/socks5')
-rw-r--r--net/socks5/Makefile2
-rw-r--r--net/socks5/files/patch-clients::ftp::domacro.c11
-rw-r--r--net/socks5/files/patch-clients::telnet::externs.h16
3 files changed, 28 insertions, 1 deletions
diff --git a/net/socks5/Makefile b/net/socks5/Makefile
index c80371a8de15..555c7b52be96 100644
--- a/net/socks5/Makefile
+++ b/net/socks5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= socks5
PORTVERSION= 1.0.11
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net security
MASTER_SITES= http://freeware.sgi.com/source/socks5/
DISTNAME= socks5-v1.0r11
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
+
diff --git a/net/socks5/files/patch-clients::telnet::externs.h b/net/socks5/files/patch-clients::telnet::externs.h
new file mode 100644
index 000000000000..60aa990d21fe
--- /dev/null
+++ b/net/socks5/files/patch-clients::telnet::externs.h
@@ -0,0 +1,16 @@
+--- clients/telnet/externs.h
++++ clients/telnet/externs.h
+@@ -92,10 +92,10 @@
+ # include <termio.h>
+ # endif
+ # else
+-# ifdef HAVE_SYS_TERMIOS_H
+-# include <sys/termios.h>
+-#elif defined(HAVE_TERMIOS_H)
++# ifdef HAVE_TERMIOS_H
+ # include <termios.h>
++#elif defined(HAVE_SYS_TERMIOS_H)
++# include <sys/termios.h>
+ # endif
+ # endif
+ #endif