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);

Dimitry Andric dim at
Sat Apr 28 16:52:20 UTC 2012

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 - 
> '' 
> | sed -e 's|^--- a/src|--- src|' -e 's|^+++ b/src|+++ src|' > patch-nouveau
> Should do.

Please try this patch (lightly tested):

More information about the freebsd-current mailing list