summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphil <phil>2000-08-30 23:55:19 +0000
committerphil <phil>2000-08-30 23:55:19 +0000
commite14cb5c674f9bca88867af2853ffa1a026c7fd1b (patch)
treec9c76f8b3fd19eeaeac0a3f02be7896b7e7c5538
parenta5333c293e83165cec2ec3e8517c1170c0abb8ce (diff)
downloadpkgsrc-e14cb5c674f9bca88867af2853ffa1a026c7fd1b.tar.gz
Patch so it compiles under 1.5 and current. CPUSTATES moved to <sys/sched.h>.
-rw-r--r--net/coda_client/files/patch-sum3
-rw-r--r--net/coda_client/patches/patch-da13
-rw-r--r--net/coda_server/files/patch-sum3
-rw-r--r--net/coda_server/patches/patch-da13
4 files changed, 30 insertions, 2 deletions
diff --git a/net/coda_client/files/patch-sum b/net/coda_client/files/patch-sum
index ea59de5c9b5..0ff454f616b 100644
--- a/net/coda_client/files/patch-sum
+++ b/net/coda_client/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:19 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/08/30 23:55:19 phil Exp $
MD5 (patch-aa) = 2329db11b43a292bde98e3557f73c92a
MD5 (patch-ab) = 44940ab5810fc6b5c9d278ad34c78ac2
@@ -9,3 +9,4 @@ MD5 (patch-bd) = d50138a81933bd4cd6d7efa8495a4774
MD5 (patch-be) = 47d690971b6243f51aac1fde8407d91b
MD5 (patch-ca) = 37f8839e1b3fb68f3f5f2c7beb1b312a
MD5 (patch-cb) = 9378b2e6f8138537aadefab2c2a4e1da
+MD5 (patch-da) = 0df0619a4cfa565a3aee5688ed6de98c
diff --git a/net/coda_client/patches/patch-da b/net/coda_client/patches/patch-da
new file mode 100644
index 00000000000..d6d575479e2
--- /dev/null
+++ b/net/coda_client/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"
diff --git a/net/coda_server/files/patch-sum b/net/coda_server/files/patch-sum
index ea59de5c9b5..f3c9116d466 100644
--- a/net/coda_server/files/patch-sum
+++ b/net/coda_server/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:19 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/08/30 23:55:51 phil Exp $
MD5 (patch-aa) = 2329db11b43a292bde98e3557f73c92a
MD5 (patch-ab) = 44940ab5810fc6b5c9d278ad34c78ac2
@@ -9,3 +9,4 @@ MD5 (patch-bd) = d50138a81933bd4cd6d7efa8495a4774
MD5 (patch-be) = 47d690971b6243f51aac1fde8407d91b
MD5 (patch-ca) = 37f8839e1b3fb68f3f5f2c7beb1b312a
MD5 (patch-cb) = 9378b2e6f8138537aadefab2c2a4e1da
+MD5 (patch-da) = 0df0619a4cfa565a3aee5688ed6de98c
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"