# HG changeset patch # User Pascal Bellard # Date 1583580237 -3600 # Node ID add4006354aab0d24e0480d30fc6a4522ae992bb # Parent fb939f171cc0ebee76fd137f24e92f9d250f538b libgnomeprint: Bison 3 update diff -r fb939f171cc0 -r add4006354aa libgnomeprint/receipt --- a/libgnomeprint/receipt Fri Mar 06 18:33:05 2020 +0100 +++ b/libgnomeprint/receipt Sat Mar 07 12:23:57 2020 +0100 @@ -17,7 +17,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src + # YYPARSE_PARAM is no longer supported in Bison 3 + sed -e '/YYPARSE_PARAM/d' -e 's|yyerror (|yyerror (graph_t *g, |' \ + -e 's|%pure_parser|&\n%parse-param { graph_t *graph }|' \ + -i libgnomeprint/grammar.y + ./configure \ --with-html-dir=/usr/share/doc \ --without-cups \