Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 17:13:31 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        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:  <4FC3880B.3090305@gmail.com>
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
Dimitry Andric wrote:
> 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 both
>>> the faulty source files
>>
>> I think the patch should go to graphics/libGL.
>>
>> cd /usr/ports/graphics/libGL/files
>> fetch -rao -
>> 'http://cgit.freedesktop.org/mesa/mesa/patch/?id=4aa1ac5fe94b5696095229ee3568bf4fa7cfed95'
>> | sed -e 's|^--- a/src|--- src|' -e 's|^+++ b/src|+++ src|'>  patch-nouveau
>>
>> Should do.
>
> Please try this patch (lightly tested):
>
> http://www.andric.com/freebsd/clang/clangports-graphics-libGL-3.diff

Works for me. Could this one be commited? It looks better then my quick 
hack.

-- 
Sphinx of black quartz judge my vow.



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