Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: eclass/
Date: Wed, 03 Aug 2011 11:59:16
Message-Id: 9fad4b94864b862d60ca24a0dac34e65b35d4000.SwifT@gentoo
1 commit: 9fad4b94864b862d60ca24a0dac34e65b35d4000
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Wed Aug 3 11:15:47 2011 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Wed Aug 3 11:15:47 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=9fad4b94
7
8 epatch always dies (not related to any EAPI). Thanks to Peter Volkov (pva <AT> g.o)
9
10 ---
11 eclass/selinux-policy-2.eclass | 4 +---
12 1 files changed, 1 insertions(+), 3 deletions(-)
13
14 diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
15 index 9808fab..5b92514 100644
16 --- a/eclass/selinux-policy-2.eclass
17 +++ b/eclass/selinux-policy-2.eclass
18 @@ -125,9 +125,7 @@ selinux-policy-2_src_prepare() {
19 for POLPATCH in "${POLICY_PATCH}";
20 do
21 cd "${S}/refpolicy/policy/modules"
22 - # Although epatch dies in EAPI=4 by itself, we support other EAPIs
23 - # too for the time being, so we explicitly die on it.
24 - epatch "${POLPATCH}" || die "Failed to apply patch ${POLPATCH}"
25 + epatch "${POLPATCH}"
26 done
27 fi