wok-current diff libgnomeprint/receipt @ rev 23055
libgnomeprint: Bison 3 update
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 12:23:57 2020 +0100 (2020-03-07) |
parents | 86790a278e70 |
children | a3b001408630 |
line diff
1.1 --- a/libgnomeprint/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/libgnomeprint/receipt Sat Mar 07 12:23:57 2020 +0100 1.3 @@ -17,7 +17,11 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + # YYPARSE_PARAM is no longer supported in Bison 3 1.9 + sed -e '/YYPARSE_PARAM/d' -e 's|yyerror (|yyerror (graph_t *g, |' \ 1.10 + -e 's|%pure_parser|&\n%parse-param { graph_t *graph }|' \ 1.11 + -i libgnomeprint/grammar.y 1.12 + 1.13 ./configure \ 1.14 --with-html-dir=/usr/share/doc \ 1.15 --without-cups \