diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-12-02 00:13:13 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-12-02 00:13:13 +0000 |
commit | 9a6b4c098e8c989011481d744cd454cc2695396f (patch) | |
tree | be7875acece6d90dfcf46886d39f3a5cd92393b8 /textproc | |
parent | 2b201eb1a6ceffad19c943a052bfa59f0553d84c (diff) | |
download | ports-9a6b4c098e8c989011481d744cd454cc2695396f.tar.gz ports-9a6b4c098e8c989011481d744cd454cc2695396f.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/unroff/files/patch-b | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/textproc/unroff/files/patch-b b/textproc/unroff/files/patch-b index d846348ec27b..e3d523a72ded 100644 --- a/textproc/unroff/files/patch-b +++ b/textproc/unroff/files/patch-b @@ -1,15 +1,13 @@ -diff -cr unroff-1.0.orig/src/error.c unroff-1.0/src/error.c -*** unroff-1.0.orig/src/error.c Fri Jun 2 15:16:00 1995 ---- unroff-1.0/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 Fri Jun 2 06:16:00 1995 ++++ ./src/error.c Sun Dec 1 16:16:18 2002 +@@ -38,8 +38,10 @@ + } + + 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"; |