From owner-freebsd-ports@FreeBSD.ORG Mon May 28 16:44:19 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6ECA3106564A; Mon, 28 May 2012 16:44:19 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2491A8FC16; Mon, 28 May 2012 16:44:19 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:4c1c:92fb:538c:83ed] (unknown [IPv6:2001:7b8:3a7:0:4c1c:92fb:538c:83ed]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9DA605C59; Mon, 28 May 2012 18:44:11 +0200 (CEST) Message-ID: <4FC3AB59.5050500@FreeBSD.org> Date: Mon, 28 May 2012 18:44:09 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120522 Thunderbird/13.0 MIME-Version: 1.0 To: Volodymyr Kostyrko References: <4F9BC101.8090305@zedat.fu-berlin.de> <4F9BD08C.4090405@gmail.com> <4F9C2047.8020108@FreeBSD.org> <4FC3880B.3090305@gmail.com> In-Reply-To: <4FC3880B.3090305@gmail.com> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: x11@FreeBSD.org, Ports FreeBSD 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); X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 16:44:19 -0000 On 2012-05-28 16:13, Volodymyr Kostyrko wrote: > Dimitry Andric wrote: ... >> 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. If the libGL maintainers are OK with it, I'll commit it. Or if anyone in the x11@ team feels like it, please do.