summaryrefslogtreecommitdiff
path: root/dev-python/pycparser/pycparser-2.21-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-26 21:58:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-26 21:58:19 +0000
commita0953f7ac639d8e180f62ab3364ccf9af71f783d (patch)
tree49c27625d74c6c1857a4b9172594a5888344f102 /dev-python/pycparser/pycparser-2.21-r2.ebuild
parentae8c098416c6e714f4466e330d7272cd5e46d452 (diff)
gentoo auto-resync : 26:02:2023 - 21:58:19
Diffstat (limited to 'dev-python/pycparser/pycparser-2.21-r2.ebuild')
-rw-r--r--dev-python/pycparser/pycparser-2.21-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pycparser/pycparser-2.21-r2.ebuild b/dev-python/pycparser/pycparser-2.21-r2.ebuild
index edebc42725b5..08416104b7d4 100644
--- a/dev-python/pycparser/pycparser-2.21-r2.ebuild
+++ b/dev-python/pycparser/pycparser-2.21-r2.ebuild
@@ -29,6 +29,11 @@ BDEPEND="
distutils_enable_tests unittest
python_prepare_all() {
+ local PATCHES=(
+ # https://github.com/eliben/pycparser/pull/494
+ "${FILESDIR}"/${P}-lextab-cache.patch
+ )
+
# remove the original files to guarantee their regen
rm pycparser/{c_ast,lextab,yacctab}.py || die