From a2ea2514682f7f434f041c0b9db5a3ab10e4d6bc Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Tue, 5 Jan 2021 16:56:59 -0800 Subject: [PATCH] tcl: don't build unnecessary compatibility functions. ./configure-time tests are incorrectly flagging some libc functions as broken when cross-compiling. Hard-code correct results of tests. Without this patch, it seems that I cannot link some things (tclx) against tcl on aarch64. --- srcpkgs/tcl/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tcl/template b/srcpkgs/tcl/template index d4c77cfd4e6..9e67af7458c 100644 --- a/srcpkgs/tcl/template +++ b/srcpkgs/tcl/template @@ -1,13 +1,15 @@ # Template file for 'tcl' pkgname=tcl version=8.6.10 -revision=2 +revision=3 wrksrc="tcl${version}" build_wrksrc=unix build_style=gnu-configure configure_args="--enable-threads --without-tzdata --enable-man-symlinks --disable-static --disable-rpath --with-system-sqlite - tcl_cv_strtod_unbroken=ok" + tcl_cv_strstr_unbroken=ok + tcl_cv_strtod_unbroken=ok + tcl_cv_strtoul_unbroken=ok" makedepends="zlib-devel sqlite-devel" short_desc="TCL scripting language" maintainer="Orphaned "