summaryrefslogtreecommitdiff
path: root/net/icb
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>1999-02-10 22:31:56 +0000
committerjwise <jwise@pkgsrc.org>1999-02-10 22:31:56 +0000
commit6bd252e0af9b4c1b74901eddd96850cd02d38e55 (patch)
tree61f4a607eeaa23e113cfb03fe9724a21dc977519 /net/icb
parentabb3fd7ca0dabd815aa424f9b30007d274cc3523 (diff)
downloadpkgsrc-6bd252e0af9b4c1b74901eddd96850cd02d38e55.tar.gz
This now compiles again (-Dunix issues), and no longer uses the `compatability'
errno stuff.
Diffstat (limited to 'net/icb')
-rw-r--r--net/icb/patches/patch-aa7
-rw-r--r--net/icb/patches/patch-af25
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 ----