From c4a244b9087b9f5a5f972771599fbad6c09a1fa6 Mon Sep 17 00:00:00 2001 From: crees Date: Sat, 12 Nov 2011 17:51:07 +0000 Subject: Fix on FreeBSD 10+ PR: ports/162497 Submitted by: Boris Kovalenko (maintainer) Feature safe: yes --- net/quagga/Makefile | 2 +- net/quagga/files/patch-ospfd__ospf_packet.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/quagga/files/patch-ospfd__ospf_packet.c (limited to 'net/quagga') 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. -- cgit