sci-biology/yass: Fix build with USE=lowmem

Add missing declaration to the lowmem-only header.

Closes: https://bugs.gentoo.org/919215
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40728
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
NHOrus
2025-02-24 14:39:33 +04:00
committed by Sam James
parent 6a1540c6bb
commit f2e3846df3
2 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
Add missing function definition to hash.c
Whole hash.c is used only if USE=lowmem is enabled.
https://bugs.gentoo.org/919215
--- a/src/hash.h
+++ b/src/hash.h
@@ -57,6 +57,7 @@
}Table_hash;
+long int hashVerifie (Table_hash *table, char *mess,long int diag);
/*
*

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="lowmem threads"
PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
PATCHES=(
"${FILESDIR}"/${PV}-as-needed.patch
"${FILESDIR}"/${P}-lowmem-define.patch
)
src_prepare() {
default