From f8ccc0ad17c7bedad85db5c5b055d2add7a4c744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 19 Jan 2021 23:07:01 -0300 Subject: [PATCH] gnuchess: fix segfault on musl. musl's default thread stack size was too small for gnuchess. Fixes #28044 --- srcpkgs/gnuchess/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/gnuchess/template b/srcpkgs/gnuchess/template index 914272150d..9a279566ad 100644 --- a/srcpkgs/gnuchess/template +++ b/srcpkgs/gnuchess/template @@ -1,7 +1,7 @@ # Template file for 'gnuchess' pkgname=gnuchess version=6.2.7 -revision=1 +revision=2 build_style=gnu-configure makedepends="readline-devel" short_desc="GNU Chess" @@ -10,3 +10,5 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/chess/chess.html" distfiles="${GNU_SITE}/chess/${pkgname}-${version}.tar.gz" checksum=e536675a61abe82e61b919f6b786755441d9fcd4c21e1c82fb9e5340dd229846 + +LDFLAGS="-Wl,-z,stack-size=2097152"