From a8d4c50d56933387bfe046303853e6b708b36d7e 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tcl/template b/srcpkgs/tcl/template index d4c77cfd4e6..191acaf46c3 100644 --- a/srcpkgs/tcl/template +++ b/srcpkgs/tcl/template @@ -1,13 +1,14 @@ # 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_strtoul_unbroken=ok" makedepends="zlib-devel sqlite-devel" short_desc="TCL scripting language" maintainer="Orphaned "