summaryrefslogtreecommitdiffstats
path: root/openwrt/package/l2tpd
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/l2tpd')
-rw-r--r--openwrt/package/l2tpd/patches/04-gcc4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/l2tpd/patches/04-gcc4.patch b/openwrt/package/l2tpd/patches/04-gcc4.patch
new file mode 100644
index 000000000..c4a906eac
--- /dev/null
+++ b/openwrt/package/l2tpd/patches/04-gcc4.patch
@@ -0,0 +1,12 @@
+diff -urN ../tmp-orig/l2tpd-0.70-pre20031121/aaa.c ./aaa.c
+--- ../tmp-orig/l2tpd-0.70-pre20031121/aaa.c 2004-12-09 09:54:10.159417376 +0100
++++ ./aaa.c 2004-12-09 09:54:01.918670160 +0100
+@@ -27,7 +27,7 @@
+
+ /* FIXME: Accounting? */
+
+-static struct addr_ent *uaddr[ADDR_HASH_SIZE];
++struct addr_ent *uaddr[ADDR_HASH_SIZE];
+
+ void init_addr ()
+ {