From owner-freebsd-current@FreeBSD.ORG Sat Jul 7 20:05:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52E8316A468 for ; Sat, 7 Jul 2007 20:05:36 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id D523913C46E for ; Sat, 7 Jul 2007 20:05:35 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l67K5xS9010583; Sat, 7 Jul 2007 16:05:59 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Attilio Rao In-Reply-To: <3bbf2fe10707071255p23822ebcy551ec90e2798437c@mail.gmail.com> References: <1183833146.1978.12.camel@localhost> <1183836202.82695.12.camel@shumai.marcuscom.com> <3bbf2fe10707071255p23822ebcy551ec90e2798437c@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UWqmV3bd6WRLtoHBSS2g" Organization: MarcusCom, Inc. Date: Sat, 07 Jul 2007 16:05:28 -0400 Message-Id: <1183838728.82695.14.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=no version=3.2.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on creme-brulee.marcuscom.com Cc: Tom McLaughlin , FreeBSD Current Subject: Re: sysutils/xsi not building on -CURRENT with new gcc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 20:05:36 -0000 --=-UWqmV3bd6WRLtoHBSS2g Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-07-07 at 21:55 +0200, Attilio Rao wrote: > 2007/7/7, Joe Marcus Clarke : > > On Sat, 2007-07-07 at 14:32 -0400, Tom McLaughlin wrote: > > > Hi all, > > > > > > I updated sysutils/xsi to a new version and I just found it will not > > > build on -CURRENT (July 2nd) in my tinderbox. I'm getting the follow= ing > > > fail: > > > > > > > > > if c++ -DHAVE_CONFIG_H -I. -I. -I. -I../lib -I/usr/local/include/libx= ml2 > > > -I/usr/local/include -O1 -pipe -MT freebsd.o -MD -MP -MF > > > ".deps/freebsd.Tpo" -c -o freebsd.o freebsd.cpp; then mv -f > > > ".deps/freebsd.Tpo" ".deps/freebsd.Po"; else rm -f ".deps/freebsd.Tpo= "; > > > exit 1; fi > > > In file included from /usr/include/sys/sx.h:37, > > > from /usr/include/sys/filedesc.h:40, > > > from /usr/include/sys/proc.h:44, > > > from /usr/include/sys/user.h:47, > > > from freebsd.cpp:35: > > > /usr/include/sys/lock_profile.h:156: error: expected ',' or '...' bef= ore 'class' > > > > Seems like a bug in lock_profile.h to me. We should not be using > > reserved words like "class". kmacy added this function to > > lock_profile.h in rev 1.6. You might want to ping him about it. >=20 > Could you please try this: > http://users.gufi.org/~rookie/works/patches/lock_profile.diff Yep, that approach works, too. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-UWqmV3bd6WRLtoHBSS2g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGj/IHb2iPiv4Uz4cRAhzLAJ9OrQw1r40UDZXSoRvgSY7k0H0n0gCcCyct ydx4ONsBQQOwlW3Qx4QguwA= =nmRy -----END PGP SIGNATURE----- --=-UWqmV3bd6WRLtoHBSS2g--