diff options
author | christos <christos@pkgsrc.org> | 2012-05-07 17:54:44 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2012-05-07 17:54:44 +0000 |
commit | 894869e0d0c8969ce0ea3de540bf4f2425333fdf (patch) | |
tree | d0f4a8c9e62085246f72c311a75bb11eb42f8d5e /net | |
parent | cb7d9fc6d754d7b082b9c9c7e91956cc59d95670 (diff) | |
download | pkgsrc-894869e0d0c8969ce0ea3de540bf4f2425333fdf.tar.gz |
handle sys_nomodule too
Diffstat (limited to 'net')
-rw-r--r-- | net/openafs/distinfo | 4 | ||||
-rw-r--r-- | net/openafs/patches/patch-src-afs-NBSD-osi_kmod.c | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/net/openafs/distinfo b/net/openafs/distinfo index bb322b48d42..0a7440ef192 100644 --- a/net/openafs/distinfo +++ b/net/openafs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2012/05/06 21:43:12 wiz Exp $ +$NetBSD: distinfo,v 1.19 2012/05/07 17:54:44 christos Exp $ SHA1 (openafs-1.7.11-src.tar.bz2) = 7baa664ea521520a3355c6d8ab7cafff004e7d97 RMD160 (openafs-1.7.11-src.tar.bz2) = 4e6c61496989b69544d0039a9fd6ca8627fc4df0 @@ -7,7 +7,7 @@ SHA1 (patch-acinclude.m4) = 52c764ebe648864f13a6708a6eda512b8e9bb390 SHA1 (patch-configure) = d36eb7024759f7ab3008def440a118ae9c303927 SHA1 (patch-configure-libafs) = a46ceef332e9c12a9708228d16cb2d0c658a3370 SHA1 (patch-src-afs-NBSD-osi_crypto.c) = 2cf24b1670b588a120168098aea49d6d56d77f9a -SHA1 (patch-src-afs-NBSD-osi_kmod.c) = 00e5f38a1f64c91bd314074f66ece30fec9248cf +SHA1 (patch-src-afs-NBSD-osi_kmod.c) = 299bb92ab74093c5cdc8b0ea08733bbc254eee74 SHA1 (patch-src-afs-NBSD-osi_vm.c) = afcd53f5e0ae530f223bf69b9f0ecbb02586ae90 SHA1 (patch-src-afs-NBSD-osi_vnodeops.c) = fb804b3519bb4da71ca5f17bdb2befbbd67024f2 SHA1 (patch-src-bucoord-Makefile.n) = afc534dc174efc9e8a966c32a6b85c0feb776900 diff --git a/net/openafs/patches/patch-src-afs-NBSD-osi_kmod.c b/net/openafs/patches/patch-src-afs-NBSD-osi_kmod.c index 26b7afd26a2..6b801268158 100644 --- a/net/openafs/patches/patch-src-afs-NBSD-osi_kmod.c +++ b/net/openafs/patches/patch-src-afs-NBSD-osi_kmod.c @@ -1,8 +1,8 @@ -$NetBSD: patch-src-afs-NBSD-osi_kmod.c,v 1.1 2012/05/02 23:19:25 christos Exp $ +$NetBSD: patch-src-afs-NBSD-osi_kmod.c,v 1.2 2012/05/07 17:54:44 christos Exp $ --- src/afs/NBSD/osi_kmod.c.orig 2012-04-22 23:40:23.000000000 -0400 -+++ src/afs/NBSD/osi_kmod.c 2012-04-30 16:47:59.000000000 -0400 -@@ -64,6 +64,62 @@ ++++ src/afs/NBSD/osi_kmod.c 2012-05-03 22:11:02.000000000 -0400 +@@ -64,6 +64,63 @@ static sy_call_t *old_setgroups; static sy_call_t *old_ioctl; @@ -21,7 +21,8 @@ $NetBSD: patch-src-afs-NBSD-osi_kmod.c,v 1.1 2012/05/02 23:19:25 christos Exp $ +# define LOCK() kernconfig_lock() +# define UNLOCK() kernconfig_unlock() +# ifndef RUMP -+ old_sysent.sy_call != sys_nosys ++ old_sysent.sy_call != sys_nosys && ++ old_sysent.sy_call != sys_nomodule +# else + false +# endif @@ -65,7 +66,7 @@ $NetBSD: patch-src-afs-NBSD-osi_kmod.c,v 1.1 2012/05/02 23:19:25 christos Exp $ MODULE(MODULE_CLASS_VFS, openafs, NULL); static int -@@ -80,53 +136,21 @@ +@@ -80,53 +137,21 @@ switch (cmd) { case MODULE_CMD_INIT: |