summaryrefslogtreecommitdiff
path: root/net/coda5_server
diff options
context:
space:
mode:
authorphil <phil@pkgsrc.org>2000-07-27 00:16:52 +0000
committerphil <phil@pkgsrc.org>2000-07-27 00:16:52 +0000
commitf17352dd25709777da21ae9aadf1fbe168a89c6a (patch)
treebb13fe4d74c447ce916c8378fca8f68101694f89 /net/coda5_server
parent56ca143250956fed9f118e04dd91e66403f85c65 (diff)
downloadpkgsrc-f17352dd25709777da21ae9aadf1fbe168a89c6a.tar.gz
Patch to make coda compile under -current. Conditionally includes sys/sched.h.
Diffstat (limited to 'net/coda5_server')
-rw-r--r--net/coda5_server/patches/patch-ac34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/coda5_server/patches/patch-ac b/net/coda5_server/patches/patch-ac
new file mode 100644
index 00000000000..0c60fc94168
--- /dev/null
+++ b/net/coda5_server/patches/patch-ac
@@ -0,0 +1,34 @@
+$NetBSD: patch-ac,v 1.3 2000/07/27 00:16:52 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>