From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 27 21:30:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 79ECC8A4 for ; Wed, 27 Mar 2013 21:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5E19E23E for ; Wed, 27 Mar 2013 21:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RLU4NJ082060 for ; Wed, 27 Mar 2013 21:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RLU4tT082059; Wed, 27 Mar 2013 21:30:04 GMT (envelope-from gnats) Date: Wed, 27 Mar 2013 21:30:04 GMT Message-Id: <201303272130.r2RLU4tT082059@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Larry Rosenman Subject: Re: ports/177422: [patch] [lsof] port broken after r247602 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Larry Rosenman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:30:04 -0000 The following reply was made to PR ports/177422; it has been noted by GNATS. From: Larry Rosenman To: , , Hiren Panchasara Cc: Subject: Re: ports/177422: [patch] [lsof] port broken after r247602 Date: Wed, 27 Mar 2013 16:25:53 -0500 On 2013-03-27 16:24, Larry Rosenman wrote: > Update to 4.88D in the ports tree (mis-type on first reply). > > > > > On 2013-03-27 16:19, Hiren Panchasara wrote: >>> Number: 177422 >>> Category: ports >>> Synopsis: [patch] [lsof] port broken after r247602 >>> Confidential: no >>> Severity: non-critical >>> Priority: low >>> Responsible: freebsd-ports-bugs >>> State: open >>> Quarter: >>> Keywords: >>> Date-Required: >>> Class: sw-bug >>> Submitter-Id: current-users >>> Arrival-Date: Wed Mar 27 21:20:00 UTC 2013 >>> Closed-Date: >>> Last-Modified: >>> Originator: Hiren Panchasara >>> Release: current >>> Organization: >>> Environment: >> 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r247891: Wed Mar 6 15:04:28 PST >> 2013 >>> Description: >> Fails in building: >> dproc.c:374:11: error: no member named 'fd_ofileflags' in 'struct >> filedesc'; did you mean 'fd_ofiles'? >> if (!fd.fd_ofileflags || >> kread((KA_T)fd.fd_ofileflags, pof, nb)) >> ^~~~~~~~~~~~~ >> fd_ofiles >> /usr/src/sys/sys/filedesc.h:68:22: note: 'fd_ofiles' declared here >> struct filedescent *fd_ofiles; /* open files */ >> ^ >> dproc.c:374:43: error: no member named 'fd_ofileflags' in 'struct >> filedesc'; did you mean 'fd_ofiles'? >> if (!fd.fd_ofileflags || >> kread((KA_T)fd.fd_ofileflags, pof, nb)) >> ^~~~~~~~~~~~~ >> fd_ofiles >> /usr/src/sys/sys/filedesc.h:68:22: note: 'fd_ofiles' declared here >> struct filedescent *fd_ofiles; /* open files */ >> >>> How-To-Repeat: >> >>> Fix: >> --- dproc.c.0 2013-03-27 14:08:03.415202409 -0700 >> +++ dproc.c 2013-03-27 14:12:19.552186829 -0700 >> @@ -397,7 +397,7 @@ >> } >> pofb = nb; >> } >> - if (!fd.fd_ofileflags || >> kread((KA_T)fd.fd_ofileflags, pof, nb)) >> + if (!fd.fd_ofiles->fde_flags || >> kread((KA_T)fd.fd_ofiles->fde_flags, pof, nb)) >> zeromem(pof, nb); >> } >> #endif /* defined(HASFSTRUCT) */ >> >> >>> Release-Note: >>> Audit-Trail: >>> Unformatted: >> _______________________________________________ >> freebsd-ports-bugs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs >> To unsubscribe, send any mail to >> "freebsd-ports-bugs-unsubscribe@freebsd.org" -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893