summaryrefslogtreecommitdiff
path: root/openwrt/package/radvd/patches/no-libfl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/radvd/patches/no-libfl.patch')
-rw-r--r--openwrt/package/radvd/patches/no-libfl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/radvd/patches/no-libfl.patch b/openwrt/package/radvd/patches/no-libfl.patch
new file mode 100644
index 0000000000..e17a127c95
--- /dev/null
+++ b/openwrt/package/radvd/patches/no-libfl.patch
@@ -0,0 +1,12 @@
+diff -urN radvd-0.7.3.old/scanner.l radvd-0.7.3/scanner.l
+--- radvd-0.7.3.old/scanner.l 2004-10-26 07:30:34.000000000 +0200
++++ radvd-0.7.3/scanner.l 2005-04-05 00:01:42.000000000 +0200
+@@ -21,6 +21,8 @@
+
+ extern char *conf_file;
+
++int yywrap(void) { return 1; }
++
+ int num_lines = 1;
+ %}
+