summaryrefslogtreecommitdiff
path: root/net/cryptcat/files/patch-netcat.c
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-30 13:21:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-30 13:21:29 +0000
commitbf51c6f124f9deae54869dfce16d78d174a5f0d9 (patch)
treedbf899c5ebd9c653e4daea5fc0f422df87136eff /net/cryptcat/files/patch-netcat.c
parentChase rerolled docs (diff)
- Update from 20031202 to 1.2.1
- Bump PORTEPOCH - Update MASTER_SITE and WWW (project moved to sourceforge) - Remove two patches that contained CR/LF's - Add two patches (invoked by CR/LF problematic) - Pass maintainership to submitter PR: 88134 Submitted by: Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
Notes
Notes: svn path=/head/; revision=146748
Diffstat (limited to 'net/cryptcat/files/patch-netcat.c')
-rw-r--r--net/cryptcat/files/patch-netcat.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/cryptcat/files/patch-netcat.c b/net/cryptcat/files/patch-netcat.c
index fcdcaa9fc56b..b3a67854b99b 100644
--- a/net/cryptcat/files/patch-netcat.c
+++ b/net/cryptcat/files/patch-netcat.c
@@ -1,6 +1,6 @@
---- netcat.c.orig Wed Nov 6 13:42:04 2002
-+++ netcat.c Wed Nov 6 13:47:27 2002
-@@ -45,9 +45,6 @@
+--- netcat.c.orig Tue Oct 18 19:42:05 2005
++++ netcat.c Sun Oct 30 07:47:37 2005
+@@ -48,9 +48,6 @@
#else
#include <malloc.h>
#endif
@@ -10,17 +10,16 @@
/* have to do this *before* including types.h. xxx: Linux still has it wrong */
#ifdef FD_SETSIZE /* should be in types.h, butcha never know. */
-@@ -55,6 +52,12 @@
+@@ -58,6 +55,12 @@
#endif /* fd's, something is horribly wrong! */
#define FD_SETSIZE 16 /* <-- this'll give us a long anyways, wtf */
#include <sys/types.h> /* *now* do it. Sigh, this is broken */
+#ifdef __FreeBSD__
+#include <inttypes.h>
+#endif
-+#ifdef HAVE_SELECT_H /* random SV variants need this */
++#ifdef HAVE_SELECT_H /* random SV variants need this */
+#include <sys/select.h>
+#endif
#ifdef HAVE_RANDOM /* aficionados of ?rand48() should realize */
#define SRAND srandom /* that this doesn't need *strong* random */
-