From owner-freebsd-current@FreeBSD.ORG Mon Apr 30 06:13:27 2012 Return-Path: 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 62BA0106564A; Mon, 30 Apr 2012 06:13:27 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 11F878FC1D; Mon, 30 Apr 2012 06:13:27 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SOjrS-0000qc-AZ>; Mon, 30 Apr 2012 08:13:26 +0200 Received: from e178001179.adsl.alicedsl.de ([85.178.1.179] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SOjrS-0004BN-5L>; Mon, 30 Apr 2012 08:13:26 +0200 Message-ID: <4F9E2D85.9000904@zedat.fu-berlin.de> Date: Mon, 30 Apr 2012 08:13:25 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Dimitry Andric References: <4F9BC101.8090305@zedat.fu-berlin.de> <4F9BD08C.4090405@gmail.com> <4F9C2047.8020108@FreeBSD.org> In-Reply-To: <4F9C2047.8020108@FreeBSD.org> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig761FB6F4585874D509FDDC24" X-Originating-IP: 85.178.1.179 Cc: Volodymyr Kostyrko , Current FreeBSD , Ports FreeBSD Subject: Re: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1); 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: Mon, 30 Apr 2012 06:13:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig761FB6F4585874D509FDDC24 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Am 04/28/12 18:52, schrieb Dimitry Andric: > On 2012-04-28 13:12, Volodymyr Kostyrko wrote: >> O. Hartmann wrote: >>> Is there in "official" way to get this fixed with CLANG? I see that >>> files folder in graphics/dri is missing, so none of the fixes for bo= th >>> the faulty source files >> >> I think the patch should go to graphics/libGL. >> >> cd /usr/ports/graphics/libGL/files >> fetch -rao -=20 >> 'http://cgit.freedesktop.org/mesa/mesa/patch/?id=3D4aa1ac5fe94b5696095= 229ee3568bf4fa7cfed95'=20 >> | sed -e 's|^--- a/src|--- src|' -e 's|^+++ b/src|+++ src|' > patch-no= uveau >> >> Should do. >=20 > Please try this patch (lightly tested): >=20 > http://www.andric.com/freebsd/clang/clangports-graphics-libGL-3.diff I'll give it a try as soon as possible. Ath the moment, things went perfect utilizing the initial hint by Volodymyr Kostyrko. --------------enig761FB6F4585874D509FDDC24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPni2FAAoJEOgBcD7A/5N84GsH/1EP5YGwPhUHuHyrR4CLNMli XrbzaEIqIzidA9HVLJkDvHvaA1ppvtdLwS0jKa/wGbj8mho0FgFqL74k+9JDiGem aAt+b2zlp1ncrTrmSGNE/aqmWQJCVSSlGJ3xMFvYgWecJf33CadSyAJR7wAs1p95 F9cSQGbNhxBmDXfjfViOwJpyyH+pIaxk9Auvy2aBj+NX26ncqdglpCSthAWdjQue pIsIL7flgcZMhVHG2+eMAmjJkoAHGJq85RCIEaDFWti4crvsMm+gzcWqin9hoAq8 +V0FIy6fw8/r+Y5TvpUEYHDyHRcGb5kFaS/DG+/egbFH4T7J/GNs+vLLBclEJlA= =QfWC -----END PGP SIGNATURE----- --------------enig761FB6F4585874D509FDDC24--