summaryrefslogtreecommitdiff
path: root/net/coda5_client
diff options
context:
space:
mode:
authorphil <phil@pkgsrc.org>2000-07-27 00:22:17 +0000
committerphil <phil@pkgsrc.org>2000-07-27 00:22:17 +0000
commitcda8ae48960d149f9a530d980db0275f6c386e88 (patch)
tree0aaff3b2b1aaf8675ff27a970bcf93c6aee70ab0 /net/coda5_client
parent6e41d8ae5f622969dfb6de307c47b13d7e1e40a3 (diff)
downloadpkgsrc-cda8ae48960d149f9a530d980db0275f6c386e88.tar.gz
Patch to allow compile under -current. Conditionally include sys/sched.h.
Diffstat (limited to 'net/coda5_client')
-rw-r--r--net/coda5_client/patches/patch-ac34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/coda5_client/patches/patch-ac b/net/coda5_client/patches/patch-ac
new file mode 100644
index 00000000000..b8b36bea449
--- /dev/null
+++ b/net/coda5_client/patches/patch-ac
@@ -0,0 +1,34 @@
+$NetBSD: patch-ac,v 1.3 2000/07/27 00:22:17 phil Exp $
+
+*** ./coda-src/vice/srvproc2.cc.orig Wed Jul 26 15:27:40 2000
+--- ./coda-src/vice/srvproc2.cc Wed Jul 26 15:28:48 2000
+***************
+*** 855,860 ****
+--- 855,866 ----
+ #include <kvm.h>
+ #include <sys/dkstat.h>
+ #include <limits.h>
++ #include <sys/dkstat.h>
++ #include <sys/param.h>
++ #if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000)
++ #include <sys/sched.h>
++ #endif /* __NetBSD__ */
++
+
+ static struct nlist RawStats[] =
+ {
+*** ./coda-src/venus/vol_vsr.cc.orig Wed Jul 26 15:16:06 2000
+--- ./coda-src/venus/vol_vsr.cc Wed Jul 26 15:22:15 2000
+***************
+*** 35,40 ****
+--- 35,44 ----
+
+ #if defined(__BSD44__)
+ #include <sys/dkstat.h>
++ #include <sys/param.h>
++ #if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000)
++ #include <sys/sched.h>
++ #endif /* __NetBSD__ */
+ #endif /* __BSD44__ */
+
+ #include <unistd.h>