From 403e9b12238afd5025671ed956d9d2c0daeeafab Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Fri, 17 Dec 2021 12:23:27 +0100 Subject: [PATCH 1/2] tcl: update to 8.6.12. - enable tests - use vsed --- srcpkgs/tcl/patches/tcl-stat64.patch | 11 ----------- srcpkgs/tcl/template | 11 ++++++++--- 2 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/tcl/patches/tcl-stat64.patch diff --git a/srcpkgs/tcl/patches/tcl-stat64.patch b/srcpkgs/tcl/patches/tcl-stat64.patch deleted file mode 100644 index b0133ec40cba..000000000000 --- a/srcpkgs/tcl/patches/tcl-stat64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/generic/tcl.h -+++ b/generic/tcl.h -@@ -17,6 +17,8 @@ - #ifndef _TCL - #define _TCL - -+#include -+ - /* - * For C++ compilers, use extern "C" - */ diff --git a/srcpkgs/tcl/template b/srcpkgs/tcl/template index d36663d8b1fa..082c8153e867 100644 --- a/srcpkgs/tcl/template +++ b/srcpkgs/tcl/template @@ -1,6 +1,6 @@ # Template file for 'tcl' pkgname=tcl -version=8.6.11 +version=8.6.12 revision=1 wrksrc="tcl${version}" build_wrksrc=unix @@ -15,12 +15,17 @@ maintainer="Orphaned " license="TCL" homepage="http://www.tcl.tk" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}${version}-src.tar.gz" -checksum=8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258 +checksum=26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6 shlib_provides="libtcl${version%.*}.so" post_extract() { - sed -i 's/-DSQLITE_API=MODULE_SCOPE//g' pkgs/sqlite*/Makefile.in + vsed -i pkgs/sqlite*/Makefile.in -e 's/-DSQLITE_API=MODULE_SCOPE//g' +} + +do_check() { + # thread-4.5 and thread-5* are skipped because they test UB + make test TESTFLAGS="-skip 'thread-4.5 thread-5*'" } do_install() { From 6e19a4f395667a20e41306d185491d7e6e73b163 Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Fri, 17 Dec 2021 12:23:32 +0100 Subject: [PATCH 2/2] tk: update to 8.6.12. --- srcpkgs/tk/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tk/template b/srcpkgs/tk/template index d09a878d6256..1dde67729272 100644 --- a/srcpkgs/tk/template +++ b/srcpkgs/tk/template @@ -1,6 +1,6 @@ # Template file for 'tk' pkgname=tk -version=8.6.11 +version=8.6.12 revision=1 wrksrc="tk${version}" build_wrksrc=unix @@ -15,7 +15,7 @@ maintainer="Orphaned " license="custom:TCL" homepage="http://www.tcl.tk" distfiles="${SOURCEFORGE_SITE}/tcl/${pkgname}${version}-src.tar.gz" -checksum=5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282 +checksum=12395c1f3fcb6bed2938689f797ea3cdf41ed5cb6c4766eec8ac949560310630 shlib_provides="libtk8.6.so"