diff options
author | taca <taca@pkgsrc.org> | 2013-09-11 15:14:00 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-09-11 15:14:00 +0000 |
commit | eab68ec8c5be7a9542f2ffeac6dcbe90c356972d (patch) | |
tree | 4dccd0881d478c97e43814dc370fcb6d28edac6c /textproc | |
parent | 05fd33becf490f09dc05e99a0c2b40bffde1cd6a (diff) | |
download | pkgsrc-eab68ec8c5be7a9542f2ffeac6dcbe90c356972d.tar.gz |
Fix build problem with new bison by adding simiar patch as textproc/itex2MML.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-itex2MML/distinfo | 3 | ||||
-rw-r--r-- | textproc/ruby-itex2MML/patches/patch-itex2MML.y | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/textproc/ruby-itex2MML/distinfo b/textproc/ruby-itex2MML/distinfo index 7ccc8fe0566..801623cd1df 100644 --- a/textproc/ruby-itex2MML/distinfo +++ b/textproc/ruby-itex2MML/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2011/03/08 15:33:48 taca Exp $ +$NetBSD: distinfo,v 1.6 2013/09/11 15:14:00 taca Exp $ SHA1 (itex2MML-1.4.5/itexToMML.tar.gz) = 11631ab52daab19cf315dbe6da75b4b3a32416bb RMD160 (itex2MML-1.4.5/itexToMML.tar.gz) = 0b68c9c81e305206e7908d994618b8bb161fa6c6 Size (itex2MML-1.4.5/itexToMML.tar.gz) = 166814 bytes SHA1 (patch-aa) = 7b6bbeffe5089642b9ed1cb87a5d568206f4cf8b +SHA1 (patch-itex2MML.y) = b082b5c10c3910e61312855abcd1299f7cb51e1c diff --git a/textproc/ruby-itex2MML/patches/patch-itex2MML.y b/textproc/ruby-itex2MML/patches/patch-itex2MML.y new file mode 100644 index 00000000000..7df90e7c790 --- /dev/null +++ b/textproc/ruby-itex2MML/patches/patch-itex2MML.y @@ -0,0 +1,24 @@ +$NetBSD: patch-itex2MML.y,v 1.1 2013/09/11 15:14:00 taca Exp $ + +Fix build with bison-3.0 + +--- itex2MML.y.orig 2010-10-03 07:11:13.000000000 +0000 ++++ itex2MML.y +@@ -2,6 +2,8 @@ + * itex2MML.y last modified 10/2/2010 + */ + ++%parse-param {char **ret_str} ++ + %{ + #include <stdio.h> + #include <string.h> +@@ -27,7 +29,7 @@ + + void (*itex2MML_error) (const char * msg) = itex2MML_default_error; + +- static void yyerror (char * s) ++ static void yyerror (char **ret_str, char * s) + { + char * msg = itex2MML_copy3 (s, " at token ", yytext); + if (itex2MML_error) |