summaryrefslogtreecommitdiff
path: root/dev-python/pycparser/pycparser-2.21-r2.ebuild
diff options
context:
space:
mode:
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