[apparmor] [PATCH] fix parser build for bison 3

Arkadiusz Miśkiewicz arekm at maven.pl
Tue Nov 5 14:26:00 UTC 2013


On Tuesday 05 of November 2013, John Johansen wrote:
> 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>

It was done by Jan Rękorajski <baggins at pld-linux.org> actually.

> 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_"


-- 
Arkadiusz Miśkiewicz, arekm / maven.pl



More information about the AppArmor mailing list