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

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Apr 30 06:13:27 UTC 2012


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


I'll give it a try as soon as possible. Ath the moment, things went
perfect utilizing the initial hint by Volodymyr Kostyrko.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120430/81f869a3/signature.pgp


More information about the freebsd-current mailing list