commit: f2e3846df3b8e350bd49941d5e0657e0c8c9f96b Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com> AuthorDate: Mon Feb 24 10:39:33 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 24 21:25:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e3846d
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 <AT> yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40728 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-biology/yass/files/yass-1.14-lowmem-define.patch | 13 +++++++++++++ .../yass/{yass-1.14-r3.ebuild => yass-1.14-r4.ebuild} | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sci-biology/yass/files/yass-1.14-lowmem-define.patch b/sci-biology/yass/files/yass-1.14-lowmem-define.patch new file mode 100644 index 000000000000..64f2e216a05b --- /dev/null +++ b/sci-biology/yass/files/yass-1.14-lowmem-define.patch @@ -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); + + /* + * diff --git a/sci-biology/yass/yass-1.14-r3.ebuild b/sci-biology/yass/yass-1.14-r4.ebuild similarity index 80% rename from sci-biology/yass/yass-1.14-r3.ebuild rename to sci-biology/yass/yass-1.14-r4.ebuild index be75847e2ad0..a484aca4269f 100644 --- a/sci-biology/yass/yass-1.14-r3.ebuild +++ b/sci-biology/yass/yass-1.14-r4.ebuild @@ -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
