summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkim <kim>1999-06-20 20:38:39 +0000
committerkim <kim>1999-06-20 20:38:39 +0000
commit633e52f42558617cba4ba26b1513046deefdd65c (patch)
treeb80853fad50658b602dd9ae430979a350b21f42c
parent9d0b510ec7de373d5f461702ebdf6524ca57da21 (diff)
downloadpkgsrc-633e52f42558617cba4ba26b1513046deefdd65c.tar.gz
sys_errlist gets defined in headers, don't redefine
-rw-r--r--plan9/rc/patches/patch-aa13
-rw-r--r--shells/rc/patches/patch-aa13
2 files changed, 26 insertions, 0 deletions
diff --git a/plan9/rc/patches/patch-aa b/plan9/rc/patches/patch-aa
new file mode 100644
index 00000000000..1ea0cfff6a5
--- /dev/null
+++ b/plan9/rc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 1999/06/20 20:38:39 kim Exp $
+
+--- utils.c.orig Thu Oct 29 08:26:08 1998
++++ utils.c Sun Jun 20 16:35:35 1999
+@@ -19,8 +19,6 @@
+ /* our perror */
+
+ extern void uerror(char *s) {
+- extern int sys_nerr;
+- extern char *sys_errlist[];
+ if (errno > sys_nerr)
+ return;
+ if (s != NULL)
diff --git a/shells/rc/patches/patch-aa b/shells/rc/patches/patch-aa
new file mode 100644
index 00000000000..1ea0cfff6a5
--- /dev/null
+++ b/shells/rc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 1999/06/20 20:38:39 kim Exp $
+
+--- utils.c.orig Thu Oct 29 08:26:08 1998
++++ utils.c Sun Jun 20 16:35:35 1999
+@@ -19,8 +19,6 @@
+ /* our perror */
+
+ extern void uerror(char *s) {
+- extern int sys_nerr;
+- extern char *sys_errlist[];
+ if (errno > sys_nerr)
+ return;
+ if (s != NULL)