summaryrefslogtreecommitdiff
path: root/sysutils/lsof/patches/patch-ab
blob: 0c26d038c582088087cf29a27d9e63aa8b4de80d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ab,v 1.10 2001/10/09 14:05:15 atatat Exp $

Tweak the UVM detection to deal with the work Chuck did on 9/15/2001.

--- Configure.orig	Tue Sep 11 14:22:21 2001
+++ Configure	Sun Oct  7 17:02:48 2001
@@ -1881,6 +1881,12 @@
 	    if test $? -eq 0	# {
 	    then
 	      NETBSD_UVM="Y"
+	    else 
+	      grep -q "v_uobj;" ${LSOF_INCLUDE}/sys/vnode.h
+	      if test $? -eq 0	# {
+	      then
+		NETBSD_UVM="Y"
+	      fi # }
 	    fi	# }
 	  fi	# }
 	fi	# }