summaryrefslogtreecommitdiffstats
path: root/tools/b43-tools/patches/002-no_libfl.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-25 16:39:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-25 16:39:38 +0000
commit9fe205eb7871b64019567684d4113f6e264eb2e3 (patch)
tree4079ef1ffbdcebef224cac8e9971663e097ebf41 /tools/b43-tools/patches/002-no_libfl.patch
parent2ac5268f211b9e74f6d7878a68066324f2eb824e (diff)
b43-tools: get rid of the libfl dependency to fix build errors on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33934 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/b43-tools/patches/002-no_libfl.patch')
-rw-r--r--tools/b43-tools/patches/002-no_libfl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/b43-tools/patches/002-no_libfl.patch b/tools/b43-tools/patches/002-no_libfl.patch
new file mode 100644
index 000000000..2e55b0803
--- /dev/null
+++ b/tools/b43-tools/patches/002-no_libfl.patch
@@ -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;