diff --git a/srcpkgs/tcl/patches/tcl-stat64.patch b/srcpkgs/tcl/patches/tcl-stat64.patch deleted file mode 100644 index b0133ec40cb..00000000000 --- 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 d36663d8b1f..082c8153e86 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() {