summaryrefslogtreecommitdiff
path: root/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch')
-rw-r--r--net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch b/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch
index 8c68a66ad548..a6f805af1a66 100644
--- a/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch
+++ b/net-analyzer/openbsd-netcat/files/openbsd-netcat-1.105-darwin.patch
@@ -1,7 +1,5 @@
-Allow compilation on Darwin
-
---- netcat.c
-+++ netcat.c
+--- a/netcat.c
++++ b/netcat.c
@@ -43,11 +43,13 @@
#include <arpa/telnet.h>
#include <arpa/inet.h>
@@ -73,8 +71,8 @@ Allow compilation on Darwin
int
main(int argc, char *argv[])
{
---- socks.c
-+++ socks.c
+--- a/socks.c
++++ b/socks.c
@@ -38,7 +38,7 @@
#include <string.h>
#include <unistd.h>