Date: Wed, 27 Mar 2013 16:24:08 -0500 From: Larry Rosenman <ler@lerctr.org> To: <freebsd-ports-bugs@freebsd.org>, <bug-followup@freebsd.org>, Hiren Panchasara <hiren.panchasara@gmail.com> Subject: Re: ports/177422: [patch] [lsof] port broken after r247602 Message-ID: <b885efea076a590e87c2da0c6e2d3bcd@webmail.lerctr.org> In-Reply-To: <201303272119.r2RLJF0F092568@red.freebsd.org> References: <201303272119.r2RLJF0F092568@red.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Update to 4.88B in the ports tree. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b885efea076a590e87c2da0c6e2d3bcd>