Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 714158
Collapse All | Expand All

(-)a/sys-apps/apparmor/apparmor-2.13.4.ebuild (+6 lines)
Lines 37-42 PATCHES=( Link Here
37
src_prepare() {
37
src_prepare() {
38
	default
38
	default
39
39
40
	# https://gitlab.com/apparmor/apparmor/-/issues/74
41
	if has_version ">=sys-devel/make-4.3" ; then
42
		sed -e "/^CAPABILITIES/s/\\\#/#/" -i ${WORKDIR}/apparmor-${PV}/common/Make.rules || die
43
		sed -e "/^AF_NAMES/s/\\\#/#/" -i ${WORKDIR}/apparmor-${PV}/common/Make.rules || die
44
	fi
45
40
	# remove warning about missing file that controls features
46
	# remove warning about missing file that controls features
41
	# we don't currently support
47
	# we don't currently support
42
	sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die
48
	sed -e "/installation problem/ctrue" -i rc.apparmor.functions || die

Return to bug 714158