commit:     d30c629a79cd779ce24dfcdacea59edee57982f2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  6 13:20:46 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr  6 15:32:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30c629a

sci-ml/tokenizers: fix for gcc-15

Closes: https://bugs.gentoo.org/944852
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{tokenizers-0.21.1.ebuild => tokenizers-0.21.1-r1.ebuild}           | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-ml/tokenizers/tokenizers-0.21.1.ebuild 
b/sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild
similarity index 99%
rename from sci-ml/tokenizers/tokenizers-0.21.1.ebuild
rename to sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild
index 3861fbf55811..920409296945 100644
--- a/sci-ml/tokenizers/tokenizers-0.21.1.ebuild
+++ b/sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild
@@ -349,6 +349,7 @@ LICENSE+="
 SLOT="0"
 KEYWORDS="~amd64"
 
+RDEPEND="dev-libs/oniguruma"
 BDEPEND="
        test? ( sci-ml/datasets[${PYTHON_SINGLE_USEDEP}] )
        $(python_gen_cond_dep '
@@ -384,6 +385,7 @@ src_configure() {
 }
 
 src_compile() {
+       export RUSTONIG_SYSTEM_LIBONIG=1
        cd tokenizers
        cargo_src_compile
        cd ../bindings/python

Reply via email to