summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/cawf/distinfo3
-rw-r--r--textproc/cawf/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
diff --git a/textproc/cawf/distinfo b/textproc/cawf/distinfo
index 06b3443634d..c86514138cd 100644
--- a/textproc/cawf/distinfo
+++ b/textproc/cawf/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:40 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/11/08 19:33:50 tv Exp $
SHA1 (cawf-4.10/cawf.zip) = c16985f79c5d9b11de62dff6ed24d210ca12eb40
RMD160 (cawf-4.10/cawf.zip) = 33bce828f0a88c05c32c221a9fd5d1ca5d4ad2b4
Size (cawf-4.10/cawf.zip) = 287677 bytes
SHA1 (patch-aa) = 21ff1ae5d3fb3a32cb855c2b4353ffbe62ebcd17
+SHA1 (patch-ab) = 52fa93c4903539f5cf56e2c904b7ffea3610899f
diff --git a/textproc/cawf/patches/patch-ab b/textproc/cawf/patches/patch-ab
new file mode 100644
index 00000000000..72068457a95
--- /dev/null
+++ b/textproc/cawf/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2005/11/08 19:33:50 tv Exp $
+
+--- proto.h.orig 1997-02-22 09:26:18.000000000 -0500
++++ proto.h
+@@ -36,6 +36,7 @@
+ # else /* !defined(USG) */
+ #include <strings.h>
+ # endif /* defined(USG) */
++#include <unistd.h>
+ #else /* !defined(UNIX) */
+ #include <string.h>
+ #endif /* defined(UNIX) */
+@@ -103,7 +104,9 @@ _PROTOTYPE(int Findparms,(unsigned char
+ _PROTOTYPE(int Findscale,(int n, double v, int e));
+ _PROTOTYPE(unsigned char *Findstr,(unsigned char *nm, unsigned char *s, int e));
+ _PROTOTYPE(void Free,(unsigned char **p));
++#if !defined(UNIX)
+ _PROTOTYPE(int getopt,(int argc, char **argv, char *opts));
++#endif
+ _PROTOTYPE(int LenprtHF,(unsigned char *s, int p, int t, unsigned char **b, int bl));
+ _PROTOTYPE(int main,(int argc, char *argv[]));
+ _PROTOTYPE(void Macro,(unsigned char *inp));