diff options
author | phil <phil> | 2000-07-27 00:16:52 +0000 |
---|---|---|
committer | phil <phil> | 2000-07-27 00:16:52 +0000 |
commit | d2f61fabb4e21758b6bde91c7ec5cdd1b32acf38 (patch) | |
tree | bb13fe4d74c447ce916c8378fca8f68101694f89 /net/coda5_server | |
parent | 4607e1371752827ea0e60bb2008267b31ceb71eb (diff) | |
download | pkgsrc-d2f61fabb4e21758b6bde91c7ec5cdd1b32acf38.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-ac | 34 |
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> |