[apparmor] [PATCH] fix parser build for bison 3
John Johansen
john.johansen at canonical.com
Tue Nov 5 13:50:22 UTC 2013
The apparmor parser build fails when bison 3 is used. The following
patch is needed to fix the build.
patch from: Arkadiusz Miśkiewicz <arekm at maven.pl>
Signed-off-by: John Johansen <john.johansen at canonical.com>
=== modified file 'parser/libapparmor_re/parse.y'
--- parser/libapparmor_re/parse.y 2012-02-24 12:20:46 +0000
+++ parser/libapparmor_re/parse.y 2013-11-05 13:45:07 +0000
@@ -57,6 +57,7 @@
%pure-parser
/* %error-verbose */
+%lex-param {YYLEX_PARAM}
%parse-param {Node **root}
%parse-param {const char *text}
%name-prefix = "regex_"
More information about the AppArmor
mailing list