[SCM] taopm/master: Adding new patch to fix yyerror function.

tiago at users.alioth.debian.org tiago at users.alioth.debian.org
Fri Mar 15 04:05:09 UTC 2013


The following commit has been merged in the master branch:
commit 083e0b12707c5ea092ff80932f085c41a4638c4a
Author: Tiago Bortoletto Vaz <tiago at debian.org>
Date:   Thu Mar 14 22:48:02 2013 -0400

    Adding new patch to fix yyerror function.

diff --git a/debian/patches/02-fix-parser-yyerror.diff b/debian/patches/02-fix-parser-yyerror.diff
new file mode 100644
index 0000000..0fdfa06
--- /dev/null
+++ b/debian/patches/02-fix-parser-yyerror.diff
@@ -0,0 +1,20 @@
+--- a/taoparse/taoparser.yy
++++ b/taoparse/taoparser.yy
+@@ -23,7 +23,7 @@
+ #include <stdio.h>
+ #include "taoparserdefs.h"
+ 
+-int yyerror(char *s);
++int yyerror(const char *s);
+ 
+ //#ifdef LINUX
+ int yylex(void);
+@@ -2924,7 +2924,7 @@
+     } 
+ 
+ 
+-int yyerror (char *s)
++int yyerror (const char *s)
+     {
+     parse_error(what_I_expected_here);
+     std::cout << "PARSE_FAILED";
diff --git a/debian/patches/series b/debian/patches/series
index 10c21b5..d73d4d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-add-missing-headers.diff
+02-fix-parser-yyerror.diff

-- 
taopm packaging



More information about the pkg-multimedia-commits mailing list