b43-tools: fix compile error: undefined reference to `yydebug'
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
commitf3bfc60e1ccbe2b05f4af6ddecca7cb207941a00
treef20554a477c39eb53cc0aad94d6493ed815ae179
parentd8f57c4e6cec6e34a4b65f5f45e5dcea2b438fdc
b43-tools: fix compile error: undefined reference to `yydebug'

With bison 2.7 YYDEBUG will be set to 0 if it was not set, then #ifdef
YYDEBUG returns true, but bison 2.7 treets YYDEBUG 0 as not set.

This fixes the following error:
obj/main.o: In function `main':
main.c:(.text.startup+0xaf): undefined reference to `yydebug'
collect2: error: ld returned 1 exit status

This closes #13093.

SVN-Revision: 35830
tools/b43-tools/patches/100-b43-asm-fix-compile-error-undefined-reference-to-yyd.patch [new file with mode: 0644]