mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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:
13
sci-biology/yass/files/yass-1.14-lowmem-define.patch
Normal file
13
sci-biology/yass/files/yass-1.14-lowmem-define.patch
Normal 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);
|
||||
|
||||
/*
|
||||
*
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user