summaryrefslogtreecommitdiff
path: root/net/coda_client/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/coda_client/patches/patch-ab')
-rw-r--r--net/coda_client/patches/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/coda_client/patches/patch-ab b/net/coda_client/patches/patch-ab
new file mode 100644
index 00000000000..ce17832114a
--- /dev/null
+++ b/net/coda_client/patches/patch-ab
@@ -0,0 +1,19 @@
+--- coda-b4_6_4/coda-src/venus/worker.cc Tue Jun 16 06:46:19 1998
++++ ./coda-src/venus/worker.cc Sat Sep 12 11:24:37 1998
+@@ -289,15 +289,7 @@
+ }
+ #endif /* __MACH__ */
+ #ifdef __BSD44__
+-#ifndef MOUNT_CFS
+- /* for FreeBSD
+- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust
+- MOUNT_MAXTYPE.
+- # define MOUNT_CFS old MOUNT_MAXTYPE +1
+- In #define INITMOUNTNAMES,
+- "cfs", /* 19 or so MOUNT_CFS */
+-#endif
+- if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) {
++ if (mount("coda", venusRoot, 0, kernDevice) < 0) {
+ eprint("mount(%s, %s) failed (%d), exiting",
+ kernDevice, venusRoot, errno);
+ exit(-1);