From 4ba3d5810cf44810406606a2e8b9fa49721827de Mon Sep 17 00:00:00 2001 From: adigitoleo Date: Tue, 19 Mar 2024 05:08:29 +1100 Subject: [PATCH] tab: update to 9.2 --- srcpkgs/tab/patches/fix-hash-32bit.diff | 30 +++++++++++++++++++ .../patches/fix-missing-cstring-include.patch | 10 ------- srcpkgs/tab/template | 9 ++---- 3 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 srcpkgs/tab/patches/fix-hash-32bit.diff delete mode 100644 srcpkgs/tab/patches/fix-missing-cstring-include.patch diff --git a/srcpkgs/tab/patches/fix-hash-32bit.diff b/srcpkgs/tab/patches/fix-hash-32bit.diff new file mode 100644 index 00000000000000..74e824c7110eac --- /dev/null +++ b/srcpkgs/tab/patches/fix-hash-32bit.diff @@ -0,0 +1,30 @@ +From ecb7eca54b0c66ecfd6b80312fc60676002adf36 Mon Sep 17 00:00:00 2001 +From: Ivan Tkatchev +Date: Mon, 18 Mar 2024 22:57:19 +0300 +Subject: [PATCH] Fix test for #8 + +--- + test/uniques.test32.in | 8 ++++++++ + test/{uniques.test.in => uniques.test64.in} | 0 + 2 files changed, 8 insertions(+) + create mode 100644 test/uniques.test32.in + rename test/{uniques.test.in => uniques.test64.in} (100%) + +diff --git a/test/uniques.test32.in b/test/uniques.test32.in +new file mode 100644 +index 0000000..f64e748 +--- /dev/null ++++ b/test/uniques.test32.in +@@ -0,0 +1,8 @@ ++temps.tsv ++===> ++z = { x=cut(@,"\t"), uint(x~0)/50 -> uniques.x~3, uniques_estimate.x~3 }, lines(sort.z, merge.first.second.z) ++===> ++38 221 330 ++39 589 834 ++40 528 783 ++608 +diff --git a/test/uniques.test.in b/test/uniques.test64.in +similarity index 100% +rename from test/uniques.test.in +rename to test/uniques.test64.in diff --git a/srcpkgs/tab/patches/fix-missing-cstring-include.patch b/srcpkgs/tab/patches/fix-missing-cstring-include.patch deleted file mode 100644 index d3a70a71a7e5b4..00000000000000 --- a/srcpkgs/tab/patches/fix-missing-cstring-include.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/deps.h -+++ b/deps.h -@@ -16,6 +16,7 @@ - #include - #include - #include -+#include - - #include - diff --git a/srcpkgs/tab/template b/srcpkgs/tab/template index f1327ee9bbce7e..574bcf3dabaffb 100644 --- a/srcpkgs/tab/template +++ b/srcpkgs/tab/template @@ -1,18 +1,15 @@ # Template file for 'tab' pkgname=tab -version=9.1 +version=9.2 revision=1 +build_style=gnu-makefile checkdepends="python3" short_desc="Shell language for text/number manipulation" maintainer="Leah Neukirchen " license="BSL-1.0" homepage="http://tkatchev.bitbucket.io/tab/" distfiles="https://bitbucket.org/tkatchev/${pkgname}/get/${version}.tar.bz2" -checksum=ccc72e4c8a5f0d7786a8c4a4c8b8dd5599ad867c876605b2cacad7f32c30651a - -do_build() { - ${CXX} ${CXXFLAGS} -std=c++11 -Wall -Iaxe *.cc -o tab ${LDFLAGS} -pthread -lm -} +checksum=e985d7bfd2a724fd7f5cbc68153978ad5ee80be43240a805105275da33d75254 do_check() { ( cd test; python go.py; )