mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-python/ahocorasick: fix build with < gcc-15
Closes: https://bugs.gentoo.org/945171 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -23,5 +23,7 @@ distutils_enable_tests pytest
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i '/typedef char bool/d' src/common.h || die
|
||||
if tc-is-gcc && ver_test $(gcc-version) -ge 15 ; then
|
||||
sed -i '/typedef char bool/d' src/common.h || die
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user