summaryrefslogtreecommitdiff
path: root/textproc/unroff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-10 14:38:08 +0000
committerwiz <wiz@pkgsrc.org>2004-07-10 14:38:08 +0000
commitfdce780ffde2640a0c2108a59d9e174306fdc5a9 (patch)
tree4b378c58ad0660802836a2db6a6f618b13ee40a8 /textproc/unroff
parent7c66293290c4aaa95befc9d4cbc881e96c52a89a (diff)
downloadpkgsrc-fdce780ffde2640a0c2108a59d9e174306fdc5a9.tar.gz
Fix build on 2.0.
Diffstat (limited to 'textproc/unroff')
-rw-r--r--textproc/unroff/distinfo4
-rw-r--r--textproc/unroff/patches/patch-ab29
2 files changed, 16 insertions, 17 deletions
diff --git a/textproc/unroff/distinfo b/textproc/unroff/distinfo
index 5f8517ec2f8..cfebbb59552 100644
--- a/textproc/unroff/distinfo
+++ b/textproc/unroff/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/10/25 19:16:50 agc Exp $
+$NetBSD: distinfo,v 1.4 2004/07/10 14:38:08 wiz Exp $
SHA1 (unroff/unroff-1.0.tar.gz) = bc8159ec7862de9f50666e79a538f46fdec4314c
Size (unroff/unroff-1.0.tar.gz) = 83202 bytes
@@ -7,5 +7,5 @@ Size (unroff/me-misc-patch) = 39278 bytes
SHA1 (unroff/misc-patch-2) = be14aea8569e30efdc25047f9c2497cb2c7ca96a
Size (unroff/misc-patch-2) = 78714 bytes
SHA1 (patch-aa) = ad1fc9788742fdc04b1994778734358415ee23ea
-SHA1 (patch-ab) = 319ede5443c5b3edb3d8ebed0a01f4b723a14494
+SHA1 (patch-ab) = 82eaf69d8df0098a1ae4fe64e533b34f0b51d3a6
SHA1 (patch-ac) = a75301976655e2bfc928183b2f8168488c40c12e
diff --git a/textproc/unroff/patches/patch-ab b/textproc/unroff/patches/patch-ab
index 2b59bdecef8..c8f9c0ed50e 100644
--- a/textproc/unroff/patches/patch-ab
+++ b/textproc/unroff/patches/patch-ab
@@ -1,16 +1,15 @@
-$NetBSD: patch-ab,v 1.1 2001/04/05 15:54:57 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2004/07/10 14:38:08 wiz Exp $
-*** src/error.c Fri Jun 2 15:16:00 1995
---- src/error.c Mon Feb 12 18:53:17 1996
-***************
-*** 39,45 ****
---- 39,47 ----
-
- static char *strerr(void) {
- extern int sys_nerr;
-+ #ifndef BSD
- extern char *sys_errlist[];
-+ #endif
-
- return errno > 0 && errno < sys_nerr ?
- sys_errlist[errno] : "unknown error";
+--- src/error.c.orig 1995-06-02 15:16:00.000000000 +0200
++++ src/error.c
+@@ -38,8 +38,10 @@ void fatal_error(char *fmt, ...) {
+ }
+
+ static char *strerr(void) {
++#ifndef BSD
+ extern int sys_nerr;
+ extern char *sys_errlist[];
++#endif
+
+ return errno > 0 && errno < sys_nerr ?
+ sys_errlist[errno] : "unknown error";