summaryrefslogtreecommitdiffstats
path: root/debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:43:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:43:03 +0000
commitf504d0d8a469f3f913a853e97020112fcf262c1b (patch)
tree25a4b573f8fc510c99d931a382598bee699a215c /debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch
parentAdding upstream version 20080615. (diff)
downloadwide-dhcpv6-f504d0d8a469f3f913a853e97020112fcf262c1b.tar.xz
wide-dhcpv6-f504d0d8a469f3f913a853e97020112fcf262c1b.zip
Adding debian version 20080615-23.debian/20080615-23debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch24
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;