mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
tab: update to 9.2
This commit is contained in:
parent
488caf8f52
commit
f344c95fc0
3 changed files with 33 additions and 16 deletions
30
srcpkgs/tab/patches/fix-hash-32bit.diff
Normal file
30
srcpkgs/tab/patches/fix-hash-32bit.diff
Normal file
|
@ -0,0 +1,30 @@
|
|||
From ecb7eca54b0c66ecfd6b80312fc60676002adf36 Mon Sep 17 00:00:00 2001
|
||||
From: Ivan Tkatchev <tkatchev@gmail.com>
|
||||
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
|
|
@ -1,10 +0,0 @@
|
|||
--- a/deps.h
|
||||
+++ b/deps.h
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <utility>
|
||||
#include <algorithm>
|
||||
#include <random>
|
||||
+#include <cstring>
|
||||
|
||||
#include <regex>
|
||||
|
|
@ -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 <leah@vuxu.org>"
|
||||
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; )
|
||||
|
|
Loading…
Add table
Reference in a new issue