summaryrefslogtreecommitdiff
path: root/net/coda_server/patches
diff options
context:
space:
mode:
authorphil <phil@pkgsrc.org>2000-08-30 23:55:19 +0000
committerphil <phil@pkgsrc.org>2000-08-30 23:55:19 +0000
commit7e36312310ae6edf4adc414f1b733079a2c2b674 (patch)
treec9c76f8b3fd19eeaeac0a3f02be7896b7e7c5538 /net/coda_server/patches
parent6e390a85b7c0ba565a2c265373da4f2c329fda85 (diff)
downloadpkgsrc-7e36312310ae6edf4adc414f1b733079a2c2b674.tar.gz
Patch so it compiles under 1.5 and current. CPUSTATES moved to <sys/sched.h>.
Diffstat (limited to 'net/coda_server/patches')
-rw-r--r--net/coda_server/patches/patch-da13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/coda_server/patches/patch-da b/net/coda_server/patches/patch-da
new file mode 100644
index 00000000000..d6d575479e2
--- /dev/null
+++ b/net/coda_server/patches/patch-da
@@ -0,0 +1,13 @@
+--- coda-src/venus/vol_vsr.cc.orig Wed Aug 30 12:34:17 2000
++++ coda-src/venus/vol_vsr.cc Wed Aug 30 12:35:28 2000
+@@ -56,6 +56,10 @@
+ #endif /* __MACH__ */
+ #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__ */
+ #ifdef __linux__
+ #include "dkstat.h"