Fix on FreeBSD 10+
PR: ports/162497 Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer) Feature safe: yes
This commit is contained in:
parent
59f1c8431b
commit
955e26b786
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285652
2 changed files with 12 additions and 1 deletions
|
@ -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/ \
|
||||
|
|
11
net/quagga/files/patch-ospfd__ospf_packet.c
Normal file
11
net/quagga/files/patch-ospfd__ospf_packet.c
Normal file
|
@ -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.
|
Loading…
Reference in a new issue