diff options
author | crees <crees@FreeBSD.org> | 2011-11-13 01:51:07 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-11-13 01:51:07 +0800 |
commit | c4a244b9087b9f5a5f972771599fbad6c09a1fa6 (patch) | |
tree | eade96f23bc7bf96ab69a62e7a3dc579ee876ad4 /net/quagga | |
parent | 58d1829bda4b5a8fc4e58e44cc4688dcfdbe096b (diff) | |
download | freebsd-ports-gnome-c4a244b9087b9f5a5f972771599fbad6c09a1fa6.tar.gz freebsd-ports-gnome-c4a244b9087b9f5a5f972771599fbad6c09a1fa6.tar.zst freebsd-ports-gnome-c4a244b9087b9f5a5f972771599fbad6c09a1fa6.zip |
Fix on FreeBSD 10+
PR: ports/162497
Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer)
Feature safe: yes
Diffstat (limited to 'net/quagga')
-rw-r--r-- | net/quagga/Makefile | 2 | ||||
-rw-r--r-- | net/quagga/files/patch-ospfd__ospf_packet.c | 11 |
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. |