mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
tlsh: update to 4.8.2.
This commit is contained in:
parent
f2db66d9d8
commit
1218428f09
2 changed files with 14 additions and 3 deletions
11
srcpkgs/tlsh/patches/musl.patch
Normal file
11
srcpkgs/tlsh/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./py_ext/tlshmodule.cpp.orig 2023-09-30 08:54:24.204721322 -0400
|
||||||
|
+++ ./py_ext/tlshmodule.cpp 2023-09-30 08:54:29.452762079 -0400
|
||||||
|
@@ -286,7 +286,7 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
static PyTypeObject tlsh_TlshType = {
|
||||||
|
- PyObject_HEAD_INIT(NULL)
|
||||||
|
+ PyObject_HEAD_INIT(0)
|
||||||
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
0, /* ob_size */
|
||||||
|
#endif
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tlsh'
|
# Template file for 'tlsh'
|
||||||
pkgname=tlsh
|
pkgname=tlsh
|
||||||
version=3.19.1
|
version=4.8.2
|
||||||
revision=6
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=python3
|
build_helper=python3
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="Apache-2.0, BSD-3-Clause"
|
license="Apache-2.0, BSD-3-Clause"
|
||||||
homepage="https://github.com/trendmicro/tlsh"
|
homepage="https://github.com/trendmicro/tlsh"
|
||||||
distfiles="https://github.com/trendmicro/tlsh/archive/${version}.tar.gz"
|
distfiles="https://github.com/trendmicro/tlsh/archive/${version}.tar.gz"
|
||||||
checksum=a8a7972d8bafb5fd66bd597b72037356dd9882e71a7e9b5f37281751a99ce686
|
checksum=0528294fbb1fe3659db564dd0b7b1b27fc41280a8408e4f7abf7e8b27f7b1ac6
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i src/CMakeLists.txt -e 's/set(TLSH_SHARED_LIBRARY 0)/set(TLSH_SHARED_LIBRARY 1)/'
|
vsed -i src/CMakeLists.txt -e 's/set(TLSH_SHARED_LIBRARY 0)/set(TLSH_SHARED_LIBRARY 1)/'
|
||||||
|
|
Loading…
Add table
Reference in a new issue