diff --git a/security/grsecurity/pkg_linux_post.conf b/security/grsecurity/pkg_linux_post.conf index 3785c0166..561327c70 100644 --- a/security/grsecurity/pkg_linux_post.conf +++ b/security/grsecurity/pkg_linux_post.conf @@ -25,7 +25,7 @@ bzcat $pkg_grsec_lxpatch | sed -e 's,\(EXTRAVERSION =\).*,\1,' > \ $pkg_grsec_tempdir/grsecurity-$pkg_grsec_ver-$ver.patch # manualy adjusting EXTRAVERSION -lx_extraversion="${lx_extraversion}-grsec" +hook_add postpatch 5 'lx_extraversion="${lx_extraversion}-grsec"' echo_status "Including grsecurity (grsecurity-$pkg_grsec_ver-$ver) patch..." var_append patchfiles ' ' "$pkg_grsec_tempdir/grsecurity-$pkg_grsec_ver-$ver.patch"