b43-tools: get rid of the libfl dependency to fix build errors on mac os x
[openwrt/staging/dedeckeh.git] / tools / b43-tools / patches / 002-no_libfl.patch
diff --git a/tools/b43-tools/patches/002-no_libfl.patch b/tools/b43-tools/patches/002-no_libfl.patch
new file mode 100644 (file)
index 0000000..2e55b08
--- /dev/null
@@ -0,0 +1,14 @@
+--- a/assembler/main.c
++++ b/assembler/main.c
+@@ -1268,6 +1268,11 @@ static void initialize(void)
+ #endif /* YYDEBUG */
+ }
++int yywrap(void)
++{
++      return 1;
++}
++
+ int main(int argc, char **argv)
+ {
+       int err, res = 1;