summaryrefslogtreecommitdiffstats
path: root/package/l2tpd/patches/04-gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/l2tpd/patches/04-gcc4.patch')
-rw-r--r--package/l2tpd/patches/04-gcc4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/l2tpd/patches/04-gcc4.patch b/package/l2tpd/patches/04-gcc4.patch
new file mode 100644
index 000000000..c4a906eac
--- /dev/null
+++ b/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 ()
+ {