From ef1f5ffecb602cc1910eaa11038f70f1c2637f38 Mon Sep 17 00:00:00 2001 From: wennmach Date: Mon, 23 Sep 2002 14:37:18 +0000 Subject: Fix a problem with VOP_PUTPAGES on NetBSD-1.6 (via patch from Love ). Also, don't try to remove the top-level "lkm" directory on pkg_delete. --- net/arla/Makefile | 3 ++- net/arla/PLIST | 3 +-- net/arla/distinfo | 3 ++- net/arla/patches/patch-bt | 18 ++++++++++++++++++ 4 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 net/arla/patches/patch-bt (limited to 'net') diff --git a/net/arla/Makefile b/net/arla/Makefile index cd681eb185b..d45dc12199f 100644 --- a/net/arla/Makefile +++ b/net/arla/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2002/08/20 17:47:40 wennmach Exp $ +# $NetBSD: Makefile,v 1.25 2002/09/23 14:37:18 wennmach Exp $ # DISTNAME= arla-0.35.9 +PKGREVISION= 1 CATEGORIES= net security MASTER_SITES= ftp://ftp.stacken.kth.se/pub/arla/ diff --git a/net/arla/PLIST b/net/arla/PLIST index 8678a7e4106..0ee4710f07d 100644 --- a/net/arla/PLIST +++ b/net/arla/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2002/08/20 17:47:40 wennmach Exp $ +@comment $NetBSD: PLIST,v 1.9 2002/09/23 14:37:18 wennmach Exp $ bin/aklog bin/amon bin/bos @@ -117,6 +117,5 @@ share/examples/arla/services @unexec /bin/rm -rf ${ARLA_CACHE} @unexec /bin/rm -f /sbin/mount_xfs @dirrm share/examples/arla -@dirrm lkm @dirrm include/rx @dirrm include/afs diff --git a/net/arla/distinfo b/net/arla/distinfo index 7ae196b2934..8c58e5092c9 100644 --- a/net/arla/distinfo +++ b/net/arla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/08/20 17:47:40 wennmach Exp $ +$NetBSD: distinfo,v 1.7 2002/09/23 14:37:18 wennmach Exp $ SHA1 (arla-0.35.9.tar.gz) = e61f73dced5ec2951d7f0641bfdd6e1acb2cacaa Size (arla-0.35.9.tar.gz) = 1341786 bytes @@ -26,3 +26,4 @@ SHA1 (patch-bp) = 36da1e63e93c54be548c65a1ba79fd43f89c9df8 SHA1 (patch-bq) = 1add9568dbe3fec36960bcaccba8329cb5988fb0 SHA1 (patch-br) = 8862fc87d0aa5fa316f1c3a84dfc29e06cacb562 SHA1 (patch-bs) = 93ecb3788f9d057ad7dd00864fcf049e222fd636 +SHA1 (patch-bt) = 5eda4b9ce8af8c84375e805fc7a6681e4e806b5e 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 . + +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 */ + -- cgit v1.2.3