mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
tcl: update to 8.6.12.
- enable tests - use vsed
This commit is contained in:
parent
ac4fb0c146
commit
1be83963ff
2 changed files with 8 additions and 14 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- a/generic/tcl.h
|
|
||||||
+++ b/generic/tcl.h
|
|
||||||
@@ -17,6 +17,8 @@
|
|
||||||
#ifndef _TCL
|
|
||||||
#define _TCL
|
|
||||||
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
+
|
|
||||||
/*
|
|
||||||
* For C++ compilers, use extern "C"
|
|
||||||
*/
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tcl'
|
# Template file for 'tcl'
|
||||||
pkgname=tcl
|
pkgname=tcl
|
||||||
version=8.6.11
|
version=8.6.12
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="tcl${version}"
|
wrksrc="tcl${version}"
|
||||||
build_wrksrc=unix
|
build_wrksrc=unix
|
||||||
|
@ -15,12 +15,17 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="TCL"
|
license="TCL"
|
||||||
homepage="http://www.tcl.tk"
|
homepage="http://www.tcl.tk"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}${version}-src.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}${version}-src.tar.gz"
|
||||||
checksum=8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258
|
checksum=26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6
|
||||||
|
|
||||||
shlib_provides="libtcl${version%.*}.so"
|
shlib_provides="libtcl${version%.*}.so"
|
||||||
|
|
||||||
post_extract() {
|
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() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue