commit:     416b4a0a4bdb5106844520dcba65c4d061975a9f
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Thu Jul 11 12:46:58 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 11 12:51:09 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=416b4a0a

dev-python/datrie: fix gcc14 compile

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1280
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 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
 }

Reply via email to