1 |
commit: 488ef15aefdbbe2b554cf51e4cbfb29c920407f1 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 04:16:05 2020 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 04:16:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488ef15a |
7 |
|
8 |
sys-apps/apparmor: respect CPP |
9 |
|
10 |
Closes: https://bugs.gentoo.org/747571 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
13 |
|
14 |
sys-apps/apparmor/apparmor-3.0.0.ebuild | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/apparmor/apparmor-3.0.0.ebuild b/sys-apps/apparmor/apparmor-3.0.0.ebuild |
18 |
index 662a23505d2..36c5b717c4b 100644 |
19 |
--- a/sys-apps/apparmor/apparmor-3.0.0.ebuild |
20 |
+++ b/sys-apps/apparmor/apparmor-3.0.0.ebuild |
21 |
@@ -40,6 +40,11 @@ src_prepare() { |
22 |
# remove warning about missing file that controls features |
23 |
# we don't currently support |
24 |
sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die |
25 |
+ |
26 |
+ # bug 634782 |
27 |
+ sed -e "s/cpp/$(tc-getCPP) -/" \ |
28 |
+ -i ../common/list_capabilities.sh \ |
29 |
+ -i ../common/list_af_names.sh || die |
30 |
} |
31 |
|
32 |
src_compile() { |