diff options
author | rillig <rillig@pkgsrc.org> | 2007-12-01 14:07:30 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-12-01 14:07:30 +0000 |
commit | 35a79ca37df33680848f737b922c0f65febc6270 (patch) | |
tree | 5f9b9d290b2cc4af1bdd79bcb13a369f289d7427 /net/coda/patches | |
parent | dca08a810bb86a853c5ac9f30e7bc333b9b171bc (diff) | |
download | pkgsrc-35a79ca37df33680848f737b922c0f65febc6270.tar.gz |
Adjusted my last patch to apply only for NetBSD >= 4.99.23.
Diffstat (limited to 'net/coda/patches')
-rw-r--r-- | net/coda/patches/patch-ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/coda/patches/patch-ac b/net/coda/patches/patch-ac index 2be5bb6d9dc..bf769c969ea 100644 --- a/net/coda/patches/patch-ac +++ b/net/coda/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.1 2007/11/30 23:55:39 rillig Exp $ +$NetBSD: patch-ac,v 1.2 2007/12/01 14:07:30 rillig Exp $ -Added experimental code to support mounting on NetBSD >= 4.99. The magic -value of 256 is taken from coda_vfsops in coda_vfsops.c. +Added experimental code to support mounting on NetBSD >= 4.99.23. The +magic value of 256 is taken from coda_vfsops in coda_vfsops.c. --- coda-src/venus/worker.cc.orig 2007-08-01 18:32:29.000000000 +0000 +++ coda-src/venus/worker.cc 2007-11-30 23:12:18.000000000 +0000 @@ -11,7 +11,7 @@ value of 256 is taken from coda_vfsops in coda_vfsops.c. #endif - + -+#if defined(__NetBSD__) && defined(__NetBSD_Prereq__) && __NetBSD_Prereq__(4,99,0) ++#if defined(__NetBSD__) && defined(__NetBSD_Prereq__) && __NetBSD_Prereq__(4,99,23) + if (error < 0) + error = mount("coda", venusRoot, 0, kernDevice, 256); + if (error < 0) |