summaryrefslogtreecommitdiff
path: root/net/arla/patches
diff options
context:
space:
mode:
authorwennmach <wennmach>2002-09-23 14:37:18 +0000
committerwennmach <wennmach>2002-09-23 14:37:18 +0000
commitf34169b2a4c709dd858cc761a6bc55a9acbe0d4e (patch)
tree20d7d340c271fa0197b0c8a0fc5e02740efcd8ca /net/arla/patches
parentc39dbd3c724163c8e2fdd95186056ec8e755d742 (diff)
downloadpkgsrc-f34169b2a4c709dd858cc761a6bc55a9acbe0d4e.tar.gz
Fix a problem with VOP_PUTPAGES on NetBSD-1.6 (via patch from
Love <lha@netbsd.org>). Also, don't try to remove the top-level "lkm" directory on pkg_delete.
Diffstat (limited to 'net/arla/patches')
-rw-r--r--net/arla/patches/patch-bt18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/arla/patches/patch-bt b/net/arla/patches/patch-bt
new file mode 100644
index 00000000000..911e5c5e3c2
--- /dev/null
+++ b/net/arla/patches/patch-bt
@@ -0,0 +1,18 @@
+# $NetBSD: patch-bt,v 1.1 2002/09/23 14:37:19 wennmach Exp $
+
+Fix a problem with VOP_PUTPAGES on NetBSD-1.6. From Love <lha@netbsd.org>.
+
+diff -u -u -w -r1.87.2.8 -r1.87.2.9
+--- xfs/bsd/xfs_vnodeops-bsd.c 2002/08/02 07:46:57 1.87.2.8
++++ xfs/bsd/xfs_vnodeops-bsd.c 2002/09/22 15:25:40 1.87.2.9
+@@ -974,6 +974,9 @@
+
+ XFSDEB(XDEBVNOPS, ("xfs_putpages\n"));
+
++ if (t == NULL)
++ return 0;
++
+ xn->flags |= XFS_DATA_DIRTY;
+
+ #ifdef HAVE_STRUCT_VOP_PUTPAGES_ARGS_A_SYNC /* FreeBSD-style */
+