Skip to content

Commit

Permalink
dev-python/datrie: fix gcc14 compile
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
  • Loading branch information
mschubert committed Jul 11, 2024
1 parent e525250 commit 593e26c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-python/datrie/datrie-0.8.2-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}

0 comments on commit 593e26c

Please sign in to comment.