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

From: Volodymyr Kostyrko <c.kworr_at_gmail.com>
Date: Sat, 28 Apr 2012 14:12:12 +0300
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.

-- 
Sphinx of black quartz judge my vow.
Received on Sat Apr 28 2012 - 09:12:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC