From ec0b6a96274ad19b27f99446e9282e5a32686f3a Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 12 Oct 2020 15:58:35 -0400 Subject: [PATCH] apparmor: fix capability list generation Fixes #25548. --- srcpkgs/apparmor/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template index af32beacbf9..ec0c55d6c68 100644 --- a/srcpkgs/apparmor/template +++ b/srcpkgs/apparmor/template @@ -1,7 +1,7 @@ # Template file for 'apparmor' pkgname=apparmor version=2.13.4 -revision=3 +revision=4 wrksrc="${pkgname}-v${version}" build_wrksrc=libraries/libapparmor build_style=gnu-configure @@ -23,6 +23,10 @@ if [ -z "$CROSS_BUILD" ]; then configure_args="--with-perl --with-python" fi +post_patch() { + vsed -i ${wrksrc}/common/Make.rules -e 's/\\#include