summaryrefslogtreecommitdiff
path: root/devel/spiff/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/spiff/patches/patch-ab')
-rw-r--r--devel/spiff/patches/patch-ab28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/spiff/patches/patch-ab b/devel/spiff/patches/patch-ab
new file mode 100644
index 00000000000..c6220d8ded5
--- /dev/null
+++ b/devel/spiff/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/15 10:12:08 agc Exp $
+
+--- misc.h 2001/10/15 10:01:22 1.1
++++ misc.h 2001/10/15 10:02:19
+@@ -8,6 +8,8 @@
+
+ #ifndef Z_INCLUDED
+
++#include <sys/param.h>
++
+ /*
+ ** make sure that if we have a XENIX system, that
+ ** we also treat it as an AT and T derivative
+@@ -36,12 +38,14 @@
+ /*
+ ** lines needed to shut up lint
+ */
++#if !(defined(BSD) && BSD >= 199306)
+ extern char *sprintf();
+ extern char *strcat();
+ extern char *strncat();
+ extern char *strcpy();
+ extern char *strncpy();
+ extern char *malloc();
++#endif /* BSD */
+
+ extern void Z_complain();
+ extern void Z_fatal();