diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-03 23:48:35 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-03 23:48:49 +0000 |
commit | 2bff5f3d49748d2b7d7deffc70ca3c2d1c95b5fe (patch) | |
tree | 39254d364e21195da2137c6270d9230c041b37f4 /sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild | |
parent | app-admin/lsyncd-2.2.3: migrate to lua-single.eclass (diff) | |
download | gentoo-2bff5f3d49748d2b7d7deffc70ca3c2d1c95b5fe.tar.gz gentoo-2bff5f3d49748d2b7d7deffc70ca3c2d1c95b5fe.tar.bz2 gentoo-2bff5f3d49748d2b7d7deffc70ca3c2d1c95b5fe.zip |
sys-fs/hfsutils: fix tcl allocator usage in tests
Tests used Tcl_Alloc() / malloc() and Tcl_Free() / free()
interchangeably. Nowadays TCL allocator now requires correct
alloc/free functions to be used.
The patch fixes all the test crashes for me on amd64.
Reported-by: Roy Bamford
Closes: https://bugs.gentoo.org/757924
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild')
-rw-r--r-- | sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild b/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild index d6ec2af91798..5df159088c92 100644 --- a/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild +++ b/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild @@ -32,6 +32,7 @@ REQUIRED_USE="tk? ( tcl )" PATCHES=( "${FILESDIR}"/largerthan2gb.patch "${FILESDIR}"/${P/_p*}-fix-tcl-8.6.patch + "${FILESDIR}"/${PN}-3.2.6-test-tcl-8.6.patch ) S=${WORKDIR}/${P/_p*} @@ -57,6 +58,11 @@ src_compile() { emake CC="$(tc-getCC)" -C hfsck } +src_test() { + # Tests reuse the same image name. Let's serialize. + emake check -j1 +} + src_install() { dodir /usr/bin /usr/lib /usr/share/man/man1 emake \ |