Date: Mon, 3 Feb 1997 15:43:14 -0800 (PST) From: Chris Timmons <skynyrd@opus.cts.cwu.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/2650: lsof port stale; new patch required for recent version Message-ID: <199702032343.PAA00853@opus.cts.cwu.edu> Resent-Message-ID: <199702032350.PAA28566@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2650 >Category: ports >Synopsis: lsof port stale; new patch required for recent version >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 3 15:50:00 PST 1997 >Last-Modified: >Originator: Chris Timmons >Organization: Central Washington University >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: Our lsof port is several revisions behind and is no longer available from many of the repository sites. Further, /usr/src/sys/vm/vm_map.h in revision 1.21 changes vm map entry flags which lsof needs, requiring a simple patch to fix. >How-To-Repeat: >Fix: Updating the Makefile is trivial # diff -r /usr/ports/sysutils/lsof lsof diff -r /usr/ports/sysutils/lsof/Makefile lsof/Makefile 6c6 < # $Id: Makefile,v 1.4 1996/12/11 19:10:34 obrien Exp $ --- > # $Id: Makefile,v 1.1 1997/02/03 22:47:03 root Exp root $ 9,10c9,10 < DISTNAME= lsof_3.82_W < PKGNAME= lsof-3.82 --- > DISTNAME= lsof_3.86_W > PKGNAME= lsof-3.86 diff -r /usr/ports/sysutils/lsof/files/md5 lsof/files/md5 1c1 < MD5 (lsof_3.82_W.tar.gz) = 1bfe247769f8d024c75cf396099aeadf --- > MD5 (lsof_3.86_W.tar.gz) = ca3e96d55bf99950008940d7cefb7e43 Only in lsof/patches: patch-ab THEN, ADD PATCH-AB: - - - - - *** dialects/freebsd/dproc.c.orig Mon Feb 3 15:07:02 1997 --- dialects/freebsd/dproc.c Mon Feb 3 15:13:19 1997 *************** *** 481,487 **** --- 481,492 ---- if (kread(ka, (char *)e, sizeof(vmme))) return; } + + #if FREEBSDV<300 if (e->is_a_map || e->is_sub_map) + #else /* FREEBSDV>=300 */ + if (e->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) + #endif /* FREEBSDV<300 */ continue; /* * Read the map entry's object and the object's shadow. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702032343.PAA00853>