summaryrefslogtreecommitdiff
path: root/net/arla/patches
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2002-09-23 14:37:18 +0000
committerwennmach <wennmach@pkgsrc.org>2002-09-23 14:37:18 +0000
commit80530d2731ceff841cd7ce4676e99ff301c704d9 (patch)
tree20d7d340c271fa0197b0c8a0fc5e02740efcd8ca /net/arla/patches
parent99fdb92ec87bb6eb57b79b4b3fa43e28ecc28049 (diff)
downloadpkgsrc-80530d2731ceff841cd7ce4676e99ff301c704d9.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 */
+