aboutsummaryrefslogtreecommitdiff
path: root/net/quagga
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-11-12 17:51:07 +0000
committerChris Rees <crees@FreeBSD.org>2011-11-12 17:51:07 +0000
commit955e26b786a06fcbf4cb1997b4bfb47ca6a1dbe5 (patch)
tree6c00f1a9a4fa7c475eaa4cae47aa7d30531ccbcb /net/quagga
parent59f1c8431b5a758e2036d5ee3a17e0fb5ae0e5b2 (diff)
downloadports-955e26b786a06fcbf4cb1997b4bfb47ca6a1dbe5.tar.gz
ports-955e26b786a06fcbf4cb1997b4bfb47ca6a1dbe5.zip
Notes
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile2
-rw-r--r--net/quagga/files/patch-ospfd__ospf_packet.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index c816e8ca2dcc..46ef879c053b 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \
diff --git a/net/quagga/files/patch-ospfd__ospf_packet.c b/net/quagga/files/patch-ospfd__ospf_packet.c
new file mode 100644
index 000000000000..a0263c8bb63c
--- /dev/null
+++ b/net/quagga/files/patch-ospfd__ospf_packet.c
@@ -0,0 +1,11 @@
+--- ospfd/ospf_packet.c.orig 2011-09-29 18:59:32.000000000 +0600
++++ ospfd/ospf_packet.c 2011-11-12 12:02:58.000000000 +0600
+@@ -2116,7 +2116,7 @@
+
+ ip_len = iph->ip_len;
+
+-#if !defined(GNU_LINUX) && (OpenBSD < 200311)
++#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version >= 1000000)
+ /*
+ * Kernel network code touches incoming IP header parameters,
+ * before protocol specific processing.