Changeset 133990


Ignore:
Timestamp:
Mar 16, 2015, 10:47:00 PM (4 years ago)
Author:
larryv@…
Message:

openvas-libnasl: Maintain compatibility with Bison 2

The param directive is very new and easily replaced with more
compatible alternatives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/openvas-libnasl/files/bison3.patch

    r133989 r133990  
    55--- nasl/nasl_grammar.y.orig
    66+++ nasl/nasl_grammar.y
    7 @@ -1,4 +1,5 @@
     7@@ -1,4 +1,6 @@
    88-%pure_parser
    99+%define api.pure
    10 +%param {void * parm}
     10+%lex-param {void * parm}
     11+%parse-param {void * parm}
    1112 %expect 1
    1213 %{
    1314 /* Nessus Attack Scripting Language version 2
    14 @@ -19,9 +20,6 @@
     15@@ -19,9 +21,6 @@
    1516  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1617  */
     
    2223 #include "includes.h"
    2324 #include "nasl_tree.h"
    24 @@ -32,7 +30,7 @@
     25@@ -32,7 +31,7 @@
    2526 #include "nasl_debug.h"
    2627 #include "nasl_signature.h"
     
    3132 %}
    3233 
    33 @@ -470,7 +468,7 @@ glob: GLOBAL arg_decl
     34@@ -470,7 +469,7 @@ glob: GLOBAL arg_decl
    3435 #include <stdlib.h>
    3536 
Note: See TracChangeset for help on using the changeset viewer.