From 416b4a0a4bdb5106844520dcba65c4d061975a9f Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Thu, 11 Jul 2024 12:46:58 +0000 Subject: dev-python/datrie: fix gcc14 compile Signed-off-by: Michael Schubert Closes: https://github.com/gentoo/sci/pull/1280 Signed-off-by: Andrew Ammerlaan --- dev-python/datrie/datrie-0.8.2-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/datrie/datrie-0.8.2-r1.ebuild b/dev-python/datrie/datrie-0.8.2-r1.ebuild index 3bbd197d7..94fcd2777 100644 --- a/dev-python/datrie/datrie-0.8.2-r1.ebuild +++ b/dev-python/datrie/datrie-0.8.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,5 +28,7 @@ distutils_enable_tests pytest python_prepare_all() { # do not depend on pytest-runner sed -i "/pytest-runner/d" setup.py || die + # https://github.com/pytries/datrie/pull/99 + sed -i "12s/struct AlphaMap:/ctypedef struct AlphaMap:/" src/cdatrie.pxd || die distutils-r1_python_prepare_all } -- cgit v1.2.3-65-gdbad