summaryrefslogtreecommitdiff
path: root/net/coda_client/patches/patch-be
diff options
context:
space:
mode:
authorrvb <rvb@pkgsrc.org>1999-04-27 20:43:08 +0000
committerrvb <rvb@pkgsrc.org>1999-04-27 20:43:08 +0000
commitd38da5c1c10d2887f3e22c03c32c93a5a005b323 (patch)
tree55a1b2e91211bb62e14b05ecf13fc97f744ee5ee /net/coda_client/patches/patch-be
parent9f34302b1c99c54d26c9a089fa531ba72283e809 (diff)
downloadpkgsrc-d38da5c1c10d2887f3e22c03c32c93a5a005b323.tar.gz
Add coda5.2.2 to the party and make sure that coda5_* and coda_* compile on 1.4
Diffstat (limited to 'net/coda_client/patches/patch-be')
-rw-r--r--net/coda_client/patches/patch-be21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/coda_client/patches/patch-be b/net/coda_client/patches/patch-be
new file mode 100644
index 00000000000..8dd27a143f8
--- /dev/null
+++ b/net/coda_client/patches/patch-be
@@ -0,0 +1,21 @@
+$NetBSD: patch-be,v 1.1 1999/04/27 20:43:10 rvb Exp $
+
+--- ../coda-4.6.6/coda-src/vice/srv.cc Wed Oct 7 20:10:39 1998
++++ coda-src/vice/srv.cc Tue Apr 27 14:49:42 1999
+@@ -1773,9 +1773,15 @@
+ "Setting Rvm Truncate threshhold to %d.\n", _Rvm_Truncate);
+ options->truncate = _Rvm_Truncate;
+ }
++#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000)
++#define NetBSD1_4
++#else
++#undef NetBSD1_4
++#endif
++
+ #if defined(__FreeBSD__)
+ sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */
+-#elif defined(__NetBSD__) && NetBSD1_3
++#elif defined(__NetBSD__) && (defined(NetBSD1_3) || defined(NetBSD1_4))
+ sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */
+ #elif defined(__NetBSD__) && NetBSD1_2
+ sbrk((void *)(0x20000000 - (int)sbrk(0))); /* for garbage reasons. */