From 593e26c7feb9184ccce9c9ea009483689e7808d5 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Thu, 11 Jul 2024 12:46:58 +0000 Subject: [PATCH] dev-python/datrie: fix gcc14 compile Signed-off-by: Michael Schubert --- 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 3bbd197d7b6..ae7ee13ecde 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 }