summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-17 15:10:25 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-17 15:11:03 -0500
commit0467b30c56b1a345d6740182b21794b183ef1b5b (patch)
tree0645866eda0f8145449ee21a762095c057a8deee /app-admin/setools/setools-3.3.8-r7.ebuild
parentsys-libs/libsemanage: improve ROOT handling in pkg_postinst (diff)
downloadgentoo-0467b30c56b1a345d6740182b21794b183ef1b5b.tar.gz
gentoo-0467b30c56b1a345d6740182b21794b183ef1b5b.tar.bz2
gentoo-0467b30c56b1a345d6740182b21794b183ef1b5b.zip
app-admin/setools: fix cross-compiling
Diffstat (limited to 'app-admin/setools/setools-3.3.8-r7.ebuild')
-rw-r--r--app-admin/setools/setools-3.3.8-r7.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-admin/setools/setools-3.3.8-r7.ebuild b/app-admin/setools/setools-3.3.8-r7.ebuild
index 69b4c7c932f5..d719849a9c37 100644
--- a/app-admin/setools/setools-3.3.8-r7.ebuild
+++ b/app-admin/setools/setools-3.3.8-r7.ebuild
@@ -58,6 +58,9 @@ src_prepare() {
EPATCH_FORCE="yes" \
epatch
+ epatch "${FILESDIR}"/${PN}-3.3.8-no-check-file.patch
+ epatch "${FILESDIR}"/${PN}-3.3.8-policy-max.patch
+
# Fix build failure due to double __init__.py installation
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
# Disable broken check for SWIG version. Bug #542032