ports/89951: Fix breakage in security/fragroute

Jonathan afarsec at 012.net.il
Sun Dec 4 23:30:06 UTC 2005


>Number:         89951
>Category:       ports
>Synopsis:       Fix breakage in security/fragroute
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 23:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        FreeBSD 6.0 i386
>Organization:
yah
>Environment:
System: FreeBSD you.ve.been.messin 6.0-BETA4 FreeBSD 6.0 #4: Fri Sep 9 00:07:43 IDT 2005 where at you.shouldnt.been.messin:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Build failed today with this:

cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include    -O -pipe -march=pentium4m -Wall -c pcaputil.c
pcaputil.c: In function `pcap_open':
pcaputil.c:46: error: `BIOCIMMEDIATE' undeclared (first use in this function)
pcaputil.c:46: error: (Each undeclared identifier is reported only once
pcaputil.c:46: error: for each function it appears in.)

It's the same issue as I had in security/firewalk, so it's the same fix.
>How-To-Repeat:
cd /usr/ports/security/fragroute && make
>Fix:


--- fragroute-build.err begins here ---

diff -urN fragroute.orig/files/patch-pcaputil.h fragroute/files/patch-pcaputil.h
--- fragroute.orig/files/patch-pcaputil.h	Thu Jan  1 02:00:00 1970
+++ fragroute/files/patch-pcaputil.h	Mon Dec  5 01:15:22 2005
@@ -0,0 +1,13 @@
+--- pcaputil.h.orig	Thu Jan 17 23:33:55 2002
++++ pcaputil.h	Mon Dec  5 01:13:29 2005
+@@ -9,6 +9,10 @@
+ #ifndef PCAPUTIL_H
+ #define PCAPUTIL_H
+ 
++#ifndef BIOCIMMEDIATE
++#define BIOCIMMEDIATE _IOW('B',112,u_int)
++#endif
++
+ pcap_t *pcap_open(char *device);
+ int	pcap_dloff(pcap_t *pcap);
+ int	pcap_filter(pcap_t *pcap, const char *fmt, ...);
--- fragroute-build.err ends here ---


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



More information about the freebsd-ports-bugs mailing list