diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch b/debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch new file mode 100644 index 0000000..139cb91 --- /dev/null +++ b/debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch @@ -0,0 +1,24 @@ +From: Roger Shimizu <rogershimizu@gmail.com> +Date: Thu, 10 Sep 2015 22:19:10 +0900 +Subject: fix a redefined "YYDEBUG" warning of gcc for the code generated by + bison/flex + +Signed-off-by: Roger Shimizu <rogershimizu@gmail.com> +--- + cftoken.l | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/cftoken.l b/cftoken.l +index f480406..e307357 100644 +--- a/cftoken.l ++++ b/cftoken.l +@@ -72,6 +72,9 @@ static int yy_first_time = 1; + static int yyerrorcount = 0; + + #ifndef NOCONFIG_DEBUG ++#ifdef YYDEBUG ++#undef YYDEBUG ++#endif + #define YYDEBUG 1 + + int cfdebug = 1; |