aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/nc/Makefile.am4
-rw-r--r--patches/netcat.c.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am
index 7d8e04f..d0f6c0c 100644
--- a/apps/nc/Makefile.am
+++ b/apps/nc/Makefile.am
@@ -7,8 +7,8 @@ noinst_PROGRAMS = nc
7EXTRA_DIST = nc.1 7EXTRA_DIST = nc.1
8 8
9nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) 9nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD)
10nc_LDADD += $(top_builddir)/tls/libcrypto.la 10nc_LDADD += $(top_builddir)/crypto/libcrypto.la
11nc_LDADD += $(top_builddir)/tls/libssl.la 11nc_LDADD += $(top_builddir)/ssl/libssl.la
12nc_LDADD += $(top_builddir)/tls/libtls.la 12nc_LDADD += $(top_builddir)/tls/libtls.la
13 13
14CPPFLAGS += -I$(top_srcdir)/apps/nc/compat 14CPPFLAGS += -I$(top_srcdir)/apps/nc/compat
diff --git a/patches/netcat.c.patch b/patches/netcat.c.patch
index 9f26ed4..fc61550 100644
--- a/patches/netcat.c.patch
+++ b/patches/netcat.c.patch
@@ -1,5 +1,5 @@
1--- apps/nc/netcat.c.orig Sun Sep 13 08:12:39 2015 1--- apps/nc/netcat.c.orig Sun Sep 13 08:12:39 2015
2+++ apps/nc/netcat.c Sun Sep 13 19:05:00 2015 2+++ apps/nc/netcat.c Sun Sep 13 19:15:13 2015
3@@ -98,9 +98,13 @@ 3@@ -98,9 +98,13 @@
4 int Dflag; /* sodebug */ 4 int Dflag; /* sodebug */
5 int Iflag; /* TCP receive buffer size */ 5 int Iflag; /* TCP receive buffer size */
@@ -90,7 +90,7 @@
90- int s, ret, x = 1; 90- int s, ret, x = 1;
91+ int s; 91+ int s;
92+#ifdef SO_REUSEPORT 92+#ifdef SO_REUSEPORT
93+ int ret; x = 1; 93+ int ret, x = 1;
94+#endif 94+#endif
95 int error; 95 int error;
96 96