]> git.pld-linux.org Git - packages/ptlib.git/blob - bison3.patch
- rel 4; fix build & openssl build and disable odbc as seriously conflicting with...
[packages/ptlib.git] / bison3.patch
1 --- ptlib-2.10.11/src/ptlib/common/getdate.y~   2013-08-15 01:20:26.000000000 +0200
2 +++ ptlib-2.10.11/src/ptlib/common/getdate.y    2013-12-15 00:24:27.866481490 +0100
3 @@ -121,9 +121,9 @@
4  static int yylex();
5  
6  #ifdef __GNUC__
7 -static int yyerror(char const *msg);
8 +static int yyerror(void *, char const *msg);
9  #else
10 -static void yyerror(char const *msg);
11 +static void yyerror(void *, char const *msg);
12  #endif
13  
14  
15 @@ -132,7 +132,8 @@
16  
17  %}
18  
19 -%pure_parser
20 +%pure-parser
21 +%parse-param {void *parseParam}
22  
23  %union {
24      time_t             Number;
25 @@ -1018,12 +1019,12 @@
26  #endif
27  
28  #ifdef __GNUC__
29 -int yyerror(const char * s)
30 +int yyerror(void *var, const char * s)
31  {
32    return 0;
33  }
34  #else
35 -static void yyerror(const char * s)
36 +static void yyerror(void *var, const char * s)
37  {
38  }
39  #endif
This page took 0.061494 seconds and 3 git commands to generate.