diff options
author | Chris Walker <kris240376@gmail.com> | 2020-03-28 12:53:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-28 12:53:22 +0700 |
commit | dc7ee1609f0a32cab82ad05ecaf2695c28bad16f (patch) | |
tree | 59bc89dc6e59325fba6485c7ffb7ec6afe1d281c /libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch | |
parent | e224c714972f434eee8146bd36ff4faa3004553a (diff) |
libraries/t38modem-ptlib: Added (Portable Tools Library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch')
-rw-r--r-- | libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch b/libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch new file mode 100644 index 0000000000000..fcc8d0d2e7a8c --- /dev/null +++ b/libraries/t38modem-ptlib/ptlib-2.10.10-mga-bison-parameter.patch @@ -0,0 +1,39 @@ +--- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200 ++++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100 +@@ -121,9 +121,9 @@ + static int yylex(); + + #ifdef __GNUC__ +-static int yyerror(char const *msg); ++static int yyerror(void *, char const *msg); + #else +-static void yyerror(char const *msg); ++static void yyerror(void *, char const *msg); + #endif + + +@@ -132,7 +132,8 @@ + + %} + +-%pure_parser ++%pure-parser ++%parse-param {void *parseParam} + + %union { + time_t Number; +@@ -1018,12 +1019,12 @@ + #endif + + #ifdef __GNUC__ +-int yyerror(const char * s) ++int yyerror(void *var, const char * s) + { + return 0; + } + #else +-static void yyerror(const char * s) ++static void yyerror(void *var, const char * s) + { + } + #endif |