diff options
author | kris <kris@FreeBSD.org> | 2002-11-18 17:25:13 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-11-18 17:25:13 +0800 |
commit | 61efdcb3c4bb1104074ddef7a9aa853a6278677a (patch) | |
tree | f64923f2227265ed75b0b98289d87484b7f47075 /misc/xtar | |
parent | aba30409fa13dd6e7eae56d123b0672f3ac14f6b (diff) | |
download | freebsd-ports-gnome-61efdcb3c4bb1104074ddef7a9aa853a6278677a.tar.gz freebsd-ports-gnome-61efdcb3c4bb1104074ddef7a9aa853a6278677a.tar.zst freebsd-ports-gnome-61efdcb3c4bb1104074ddef7a9aa853a6278677a.zip |
Fix build on -current (don't mis-declare sys_nerr)
Diffstat (limited to 'misc/xtar')
-rw-r--r-- | misc/xtar/files/patch-aa | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/misc/xtar/files/patch-aa b/misc/xtar/files/patch-aa index bbefe779d309..8edb7ce39df4 100644 --- a/misc/xtar/files/patch-aa +++ b/misc/xtar/files/patch-aa @@ -1,12 +1,11 @@ -*** common/str.c.orig Wed Jul 31 18:04:12 1996 ---- common/str.c Wed Jul 31 18:04:27 1996 -*************** -*** 283,289 **** - char *str_error(int errnum) - { - extern int sys_nerr; -- extern char *sys_errlist[]; - static char ebuf[40]; /* 64-bit number + slop */ - - if ((unsigned int)errnum < sys_nerr) ---- 283,288 ---- +--- ./common/str.c.orig Tue May 9 01:06:46 1995 ++++ ./common/str.c Mon Nov 18 01:23:20 2002 +@@ -282,8 +282,6 @@ + ---------------------------------------------------------------------------*/ + char *str_error(int errnum) + { +- extern int sys_nerr; +- extern char *sys_errlist[]; + static char ebuf[40]; /* 64-bit number + slop */ + + if ((unsigned int)errnum < sys_nerr) |