ports/162497: Fix quagga on FreeBSD 10

Boris Kovalenko boris at tagnet.ru
Sat Nov 12 06:30:12 UTC 2011


>Number:         162497
>Category:       ports
>Synopsis:       Fix quagga on FreeBSD 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 06:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Boris Kovalenko
>Release:        
>Organization:
JSC "TAGnet"
>Environment:
>Description:

>How-To-Repeat:

>Fix:
Apply the attached patch

Patch attached with submission follows:

===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /mnt/work/ports/net/quagga.orig/Makefile /mnt/work/ports/net/quagga/Makefile
--- /mnt/work/ports/net/quagga.orig/Makefile	2011-10-18 20:43:45.000000000 +0600
+++ /mnt/work/ports/net/quagga/Makefile	2011-11-12 12:06:21.000000000 +0600
@@ -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 -ruN --exclude=CVS /mnt/work/ports/net/quagga.orig/files/patch-ospfd__ospf_packet.c /mnt/work/ports/net/quagga/files/patch-ospfd__ospf_packet.c
--- /mnt/work/ports/net/quagga.orig/files/patch-ospfd__ospf_packet.c	1970-01-01 05:00:00.000000000 +0500
+++ /mnt/work/ports/net/quagga/files/patch-ospfd__ospf_packet.c	2011-11-12 12:05:59.000000000 +0600
@@ -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.
===> Done


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list