From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 27 21:24:10 2013 Return-Path: Delivered-To: freebsd-ports-bugs@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 730A56D7; Wed, 27 Mar 2013 21:24:10 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (lrosenman-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:3ad::2]) by mx1.freebsd.org (Postfix) with ESMTP id 46A661F5; Wed, 27 Mar 2013 21:24:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=ZSOOHvU0yN9dvZt7M4mJ0NqtqAsLOWoyC1fkllnHBCQ=; b=Q+oeyaSduetUS0+Tj/o/3gde5D9LlV7OJrXJ2ebnw4gNtzDvDUz+z3JUmQrnyi2QoeQPUtuSn9MLPlcdC6517CtTZnyqIgLAA2im4HlYmYufmRqwcUBaTg1fCYhWk34I4s6f8x167Z08W8qmeUdDAC7ZaWbsgITMLhQtQt4Qh4w=; Received: from localhost.lerctr.org ([127.0.0.1]:22731 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpa (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UKxpI-000732-VM; Wed, 27 Mar 2013 16:24:09 -0500 Received: from [32.97.110.61] by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Wed, 27 Mar 2013 16:24:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 27 Mar 2013 16:24:08 -0500 From: Larry Rosenman To: , , Hiren Panchasara Subject: Re: ports/177422: [patch] [lsof] port broken after r247602 In-Reply-To: <201303272119.r2RLJF0F092568@red.freebsd.org> References: <201303272119.r2RLJF0F092568@red.freebsd.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/0.8.5 X-Spam-Score: -4.2 (----) X-LERCTR-Spam-Score: -4.2 (----) X-Spam-Report: SpamScore (-4.2/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-1.299 X-LERCTR-Spam-Report: SpamScore (-4.2/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-1.299 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:24:10 -0000 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