diff -r -c coda-4.6.6.orig/coda-src/venus/worker.cc coda-4.6.6/coda-src/venus/worker.cc *** coda-4.6.6.orig/coda-src/venus/worker.cc Mon Oct 5 16:13:13 1998 --- coda-src/venus/worker.cc Fri Nov 13 13:09:56 1998 *************** *** 290,296 **** #endif /* __MACH__ */ #ifdef __BSD44__ if (mount("coda", venusRoot, 0, kernDevice) < 0) { ! if (mount("cfs", venusRoot, 0, kernDevice) < 0) { eprint("mount(%s, %s) failed (%d), exiting", kernDevice, venusRoot, errno); exit(-1); --- 290,301 ---- #endif /* __MACH__ */ #ifdef __BSD44__ if (mount("coda", venusRoot, 0, kernDevice) < 0) { ! if (mount("cfs", venusRoot, 0, kernDevice) < 0) ! #if defined(__FreeBSD__) && !defined(__FreeBSD_version) ! #define MOUNT_CFS 19 ! if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) ! #endif ! { eprint("mount(%s, %s) failed (%d), exiting", kernDevice, venusRoot, errno); exit(-1); diff -r -c coda-4.6.6.orig/lib-src/mlwp/process.s coda-4.6.6/lib-src/mlwp/process.s *** coda-4.6.6.orig/lib-src/mlwp/process.s Wed Oct 7 20:11:01 1998 --- lib-src/mlwp/process.s Fri Nov 13 13:10:24 1998 *************** *** 451,467 **** #elif defined(__BSD44__) #ifdef __STDC__ #include ! #define SYMB(x) ENTRY(x) ! #ifdef __FreeBSD__ #define EXT(x) CNAME(x) ! #else #define EXT(x) _C_LABEL(x) ! #endif /*__FreeBSD__*/ ! #else #define SYMB(x) _/**/x: #define EXT(x) _/**/x ! #endif #else --- 451,476 ---- #elif defined(__BSD44__) #ifdef __STDC__ + + #if defined(__FreeBSD__) && defined(__ELF__) #include ! #define SYMB(x) ENTRY(x) #define EXT(x) CNAME(x) ! ! #elif defined(__FreeBSD__) ! #define SYMB(x) .align 4; .globl _##x; _##x: ! #define EXT(x) _##x ! ! #else /* defined(__NetBSD__) */ ! #include ! #define SYMB(x) ENTRY(x) #define EXT(x) _C_LABEL(x) ! #endif /*__FreeBSD__version*/ ! ! #else /*!__STDC__*/ #define SYMB(x) _/**/x: #define EXT(x) _/**/x ! #endif /*__STDC__*/ #else