summaryrefslogtreecommitdiff
path: root/net/netcat/patches
diff options
context:
space:
mode:
authorsimonb <simonb>2002-08-21 06:31:57 +0000
committersimonb <simonb>2002-08-21 06:31:57 +0000
commit37c3be42b5e7bb51d31cdeb719ae7b35b3436323 (patch)
tree6c2c396b5b90e31be337d35bd49ac9c37da75415 /net/netcat/patches
parentb062e384aabe451c074e8a37cd18eecd4d15f6ff (diff)
downloadpkgsrc-37c3be42b5e7bb51d31cdeb719ae7b35b3436323.tar.gz
Include <string.h> in a few places to stop some warnings on alpha (and
other 64-bit platforms?).
Diffstat (limited to 'net/netcat/patches')
-rw-r--r--net/netcat/patches/patch-ac12
-rw-r--r--net/netcat/patches/patch-ad12
-rw-r--r--net/netcat/patches/patch-ae12
3 files changed, 36 insertions, 0 deletions
diff --git a/net/netcat/patches/patch-ac b/net/netcat/patches/patch-ac
new file mode 100644
index 00000000000..0939bf11719
--- /dev/null
+++ b/net/netcat/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2002/08/21 06:31:57 simonb Exp $
+
+--- data/data.c.orig Wed Feb 28 00:43:48 1996
++++ data/data.c
+@@ -16,6 +16,7 @@
+ *Hobbit*, started 951004 or so and randomly screwed around with since */
+
+ #include <stdio.h>
++#include <string.h>
+
+ #ifdef MSDOS /* for MSC only at the moment... */
+ #include <fcntl.h>
diff --git a/net/netcat/patches/patch-ad b/net/netcat/patches/patch-ad
new file mode 100644
index 00000000000..a6072329f2a
--- /dev/null
+++ b/net/netcat/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2002/08/21 06:31:57 simonb Exp $
+
+--- data/rservice.c.orig Thu Feb 1 05:45:08 1996
++++ data/rservice.c
+@@ -10,6 +10,7 @@
+ ... whatever. _H*/
+
+ #include <stdio.h>
++#include <string.h>
+
+ /* change if you like; "id" is a good one for figuring out if you won too */
+ static char cmd[] = "pwd";
diff --git a/net/netcat/patches/patch-ae b/net/netcat/patches/patch-ae
new file mode 100644
index 00000000000..968bd4182bb
--- /dev/null
+++ b/net/netcat/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2002/08/21 06:31:57 simonb Exp $
+
+--- data/xor.c.orig Sun Feb 18 14:18:16 1996
++++ data/xor.c
+@@ -14,6 +14,7 @@
+ *Hobbit*, 960208 */
+
+ #include <stdio.h>
++#include <string.h>
+ #include <fcntl.h>
+
+ char buf[8192];