diff options
-rw-r--r-- | net/icb/patches/patch-aa | 7 | ||||
-rw-r--r-- | net/icb/patches/patch-af | 25 |
2 files changed, 29 insertions, 3 deletions
diff --git a/net/icb/patches/patch-aa b/net/icb/patches/patch-aa index 0ca2408a60f..19fd89f22c3 100644 --- a/net/icb/patches/patch-aa +++ b/net/icb/patches/patch-aa @@ -1,13 +1,14 @@ -$NetBSD: patch-aa,v 1.4 1998/08/07 11:10:40 agc Exp $ +$NetBSD: patch-aa,v 1.5 1999/02/10 22:31:56 jwise Exp $ --- tcl/tclCmdAH.c.orig Fri Feb 24 22:19:53 1995 +++ tcl/tclCmdAH.c Wed Apr 15 12:26:09 1998 -@@ -38,8 +38,14 @@ +@@ -38,8 +38,15 @@ #include <sys/wait.h> #include "tclInt.h" -+#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#if (defined(__unix__) || defined(unix) || defined(__NetBSD__)) && !defined(USG) +#include <sys/param.h> ++#include <unistd.h> +#endif + extern int errno; diff --git a/net/icb/patches/patch-af b/net/icb/patches/patch-af new file mode 100644 index 00000000000..b37912cc585 --- /dev/null +++ b/net/icb/patches/patch-af @@ -0,0 +1,25 @@ +$NetBSD: patch-af,v 1.1 1999/02/10 22:31:56 jwise Exp $ + +*** icb/c_log.c.orig Fri Feb 24 16:20:18 1995 +--- icb/c_log.c Wed Feb 10 17:06:17 1999 +*************** +*** 6,11 **** +--- 6,12 ---- + #include "icb.h" + #include "externs.h" + #include <time.h> ++ #include <errno.h> + + FILE *logfp = NULL; + +*************** +*** 45,52 **** + time_t time(); + struct tm *t, *localtime(); + time_t clock; +- extern int errno, sys_nerr; +- extern char *sys_errlist[]; + + /* determine pathname to use */ + if (path == NULL || *path == '\0') +--- 46,51 ---- |