Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2012 08:13:25 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Volodymyr Kostyrko <c.kworr@gmail.com>, Current FreeBSD <freebsd-current@freebsd.org>, Ports FreeBSD <freebsd-ports@FreeBSD.org>
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);
Message-ID:  <4F9E2D85.9000904@zedat.fu-berlin.de>
In-Reply-To: <4F9C2047.8020108@FreeBSD.org>
References:  <4F9BC101.8090305@zedat.fu-berlin.de> <4F9BD08C.4090405@gmail.com> <4F9C2047.8020108@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F9E2D85.9000904>