Received: by mail.netbsd.org (Postfix, from userid 605) id 58B5A84D8D; Fri, 11 Jan 2019 11:30:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CDCCA84D3C for ; Fri, 11 Jan 2019 11:30:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 4UUhlw9maLVs for ; Fri, 11 Jan 2019 11:30:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2504184D39 for ; Fri, 11 Jan 2019 11:30:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1BF6EFB16; Fri, 11 Jan 2019 11:30:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1547206212206060" MIME-Version: 1.0 Date: Fri, 11 Jan 2019 11:30:12 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/graphics/MesaLib18 To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20190111113012.1BF6EFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1547206212206060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Fri Jan 11 11:30:12 UTC 2019 Modified Files: pkgsrc/graphics/MesaLib18: Makefile Log Message: MesaLib18: make sure we use __builtin_alloca on NetBSD Otherwise Xorg crashes in the radeon driver when mesa is built with clang. Better fix welcome. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/MesaLib18/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1547206212206060 Content-Disposition: inline Content-Length: 980 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/MesaLib18/Makefile diff -u pkgsrc/graphics/MesaLib18/Makefile:1.8 pkgsrc/graphics/MesaLib18/Makefile:1.9 --- pkgsrc/graphics/MesaLib18/Makefile:1.8 Thu Jan 10 22:30:10 2019 +++ pkgsrc/graphics/MesaLib18/Makefile Fri Jan 11 11:30:11 2019 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2019/01/10 22:30:10 tnn Exp $ +# $NetBSD: Makefile,v 1.9 2019/01/11 11:30:11 tnn Exp $ DISTNAME= mesa-18.3.1 +PKGREVISION= 1 PKGNAME= ${DISTNAME:S/mesa/MesaLib/} CATEGORIES= graphics x11 MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/ @@ -81,6 +82,10 @@ CPPFLAGS+= -Dexp2\(x\)=exp\(\(x\)\*M_LN2 CPPFLAGS+= -Dexp2f\(x\)=expf\(\(x\)\*M_LN2\) .endif +# Work around Xorg segfaulting in radeon driver due to wrong alloca being used +CFLAGS.NetBSD+= -Dalloca=__builtin_alloca +CXXFLAGS.NetBSD+= -Dalloca=__builtin_alloca + pre-configure: cd ${WRKSRC} && autoreconf -vif # Manual patch for FDO bug 90311. Don't apply if not on Darwin as there could --_----------=_1547206212206060--