summaryrefslogtreecommitdiff
path: root/net/coda5_client
diff options
context:
space:
mode:
authorphil <phil>2000-07-27 00:22:17 +0000
committerphil <phil>2000-07-27 00:22:17 +0000
commitb7d0219af2f6c213e8d0aeb09721a42747119445 (patch)
tree0aaff3b2b1aaf8675ff27a970bcf93c6aee70ab0 /net/coda5_client
parentfebb0db136ec974e24cde78670626f44a87d5d70 (diff)
downloadpkgsrc-b7d0219af2f6c213e8d0aeb09721a42747119445.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>