wok-current rev 22814
openvas-libraries: patch for Bison 3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 01 18:47:18 2020 +0100 (2020-02-01) |
parents | 0feced246be7 |
children | 1d41e6aa71da |
files | openvas-libraries/receipt |
line diff
1.1 --- a/openvas-libraries/receipt Sat Feb 01 12:34:43 2020 +0100 1.2 +++ b/openvas-libraries/receipt Sat Feb 01 18:47:18 2020 +0100 1.3 @@ -20,6 +20,11 @@ 1.4 sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' misc/network.c 1.5 # gnutls_connection_end_t depredicated for gnutls >= 3.0.18 1.6 sed -i 's/gnutls_connection_end_t/unsigned int/' misc/openvas_server.h misc/openvas_server.c 1.7 + 1.8 + # Update for bison 3 1.9 + sed -i -e 's|naslerror(|naslerror(naslctxt *parm, |' \ 1.10 + -e 's|pure_parser|pure-parser\n%parse-param {naslctxt * parm}\n%lex-param {naslctxt * parm}|' \ 1.11 + nasl/nasl_grammar.y 1.12 ./configure --prefix=/usr --localstatedir=/var \ 1.13 --mandir=/usr/share/man \ 1.14 $CONFIGURE_ARGS &&