diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-01 07:05:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-01 07:32:35 +0000 |
commit | 62abf74f5e5e2c59a7a1e1612218cf5102fc28aa (patch) | |
tree | 44c1388ec9c28debaf0ea59ad5b309e8d6dab7ef /main/quagga/quagga-0.99.16-ipctl_forwarding.patch | |
parent | 9429f3b9431c321a0fb8ebc40f3d4910fbcae3c1 (diff) | |
download | aports-62abf74f5e5e2c59a7a1e1612218cf5102fc28aa.tar.bz2 aports-62abf74f5e5e2c59a7a1e1612218cf5102fc28aa.tar.xz |
main/quagga: build fixes for automake and recent kernel headers
Diffstat (limited to 'main/quagga/quagga-0.99.16-ipctl_forwarding.patch')
-rw-r--r-- | main/quagga/quagga-0.99.16-ipctl_forwarding.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/quagga/quagga-0.99.16-ipctl_forwarding.patch b/main/quagga/quagga-0.99.16-ipctl_forwarding.patch new file mode 100644 index 0000000000..5a1e4e2296 --- /dev/null +++ b/main/quagga/quagga-0.99.16-ipctl_forwarding.patch @@ -0,0 +1,19 @@ +diff -Naur quagga-0.99.16.orig/zebra/ipforward_sysctl.c quagga-0.99.16/zebra/ipforward_sysctl.c +--- quagga-0.99.16.orig/zebra/ipforward_sysctl.c 2010-03-11 12:11:32.000000000 -0500 ++++ quagga-0.99.16/zebra/ipforward_sysctl.c 2010-03-11 12:11:39.000000000 -0500 +@@ -31,6 +31,15 @@ + + #define MIB_SIZ 4 + ++/* Fix for recent (2.6.14) kernel headers */ ++#ifndef IPCTL_FORWARDING ++ #define IPCTL_FORWARDING NET_IPV4_FORWARD ++#endif ++ ++#ifndef IP6CTL_FORWARDING ++ #define IP6CTL_FORWARDING NET_IPV6_FORWARDING ++#endif ++ + extern struct zebra_privs_t zserv_privs; + + /* IPv4 forwarding control MIB. */ |