diff options
Diffstat (limited to 'textproc/unroff/patches/patch-ab')
-rw-r--r-- | textproc/unroff/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/unroff/patches/patch-ab b/textproc/unroff/patches/patch-ab new file mode 100644 index 00000000000..2b59bdecef8 --- /dev/null +++ b/textproc/unroff/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2001/04/05 15:54:57 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"; |