From owner-freebsd-gnome Tue Nov 5 3:24:58 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C70C37B401; Tue, 5 Nov 2002 03:24:57 -0800 (PST) Received: from ue250-1.rz.RWTH-Aachen.DE (ue250-1.rz.RWTH-Aachen.DE [134.130.3.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E4C043E4A; Tue, 5 Nov 2002 03:24:56 -0800 (PST) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from ms-1 (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by ue250-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3-3) with ESMTP id gA5BOssc012418; Tue, 5 Nov 2002 12:24:54 +0100 (MET) Received: from ue250-1.rz.RWTH-Aachen.DE ([134.130.3.33]) by ms-1 (MailMonitor for SMTP v1.2.0 Beta3) ; Tue, 5 Nov 2002 12:24:54 +0100 (MET) Received: from mouton.informatik.rwth-aachen.de (mouton.Informatik.RWTH-Aachen.DE [137.226.194.67]) by ue250-1.rz.RWTH-Aachen.DE (8.12.1/8.11.3/24) with ESMTP id gA5BOrBU012293; Tue, 5 Nov 2002 12:24:53 +0100 (MET) Received: from bsd.localdomain (localhost [127.0.0.1]) by mouton.informatik.rwth-aachen.de (8.12.5/8.12.5) with ESMTP id gA5BOZj8078219; Tue, 5 Nov 2002 12:24:35 +0100 (CET) (envelope-from stolz@bsd.localdomain) Received: (from stolz@localhost) by bsd.localdomain (8.12.5/8.12.5/Submit) id gA5BOZZI078218; Tue, 5 Nov 2002 12:24:35 +0100 (CET) (envelope-from stolz) Date: Tue, 5 Nov 2002 12:24:35 +0100 From: Volker Stolz To: gnome@freebsd.org Cc: marcus@freebsd.org Subject: libgtop broken on -current by latest commit Message-ID: <20021105112435.GA78160@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm currently wading through libgtop-code on -current, maybe somebody can lend me a hand? A commit two days ago generates invalid C syntax as documented by bento, it looks like the closing +#endif comes one line too early: +} +#else if ((vnode.v_type != VREG) || (vnode.v_tag != VT_UFS) || +#endif !vnode.v_data) continue; But even if I fix that, my machine complains that there's no variable "inode" -- which indeed isn't, because it has moved into a version check: +#if __FreeBSD_version < 500039 struct inode inode; -struct mount mount; +#endif If I remove the #if, the file compiles at least, but I won't even claim that I know what these changes are for. Cheers, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message