From owner-freebsd-ports@FreeBSD.ORG Sat Mar 28 00:07:01 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 308181065674; Sat, 28 Mar 2009 00:07:01 +0000 (UTC) (envelope-from lstewart@room52.net) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.106]) by mx1.freebsd.org (Postfix) with ESMTP id 65B708FC1E; Sat, 28 Mar 2009 00:06:59 +0000 (UTC) (envelope-from lstewart@room52.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAG4EzUl8qF1T/2dsb2JhbADRGIN3Bg X-IronPort-AV: E=Sophos;i="4.38,435,1233500400"; d="scan'208";a="472827410" Received: from unknown (HELO lawrence1.loshell.room52.net) ([124.168.93.83]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 28 Mar 2009 08:56:51 +0900 Message-ID: <49CD67C2.7010109@room52.net> Date: Sat, 28 Mar 2009 10:56:50 +1100 From: Lawrence Stewart User-Agent: Thunderbird 2.0.0.21 (X11/20090326) MIME-Version: 1.0 To: alexey@renatasystems.org Content-Type: multipart/mixed; boundary="------------010107020601060704070508" Cc: Rui Paulo , freebsd-ports@freebsd.org Subject: [PATCH] trafshow port broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 00:07:01 -0000 This is a multi-part message in MIME format. --------------010107020601060704070508 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Alexey, You're listed as the maintainer for the FreeBSD net/trafshow port. The port doesn't compile on 8.0-CURRENT (r190457) amd64 at the moment. The recent import of the new pcap into FreeBSD 8 means pcap.h no longer includes the system's net/bpf.h, which has a required #define ioctl (BIOCIMMEDIATE). Placing the attached patch in the port's files directory fixes the issue for me. The patch should only be required for ${OSVERSION} >= 800074. Rui, is patching the port the correct fix for this issue? Cheers, Lawrence --------------010107020601060704070508 Content-Type: text/plain; name="patch-bpf" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-bpf" --- show_dump.c.orig 2009-03-28 10:33:29.000000000 +1100 +++ show_dump.c 2009-03-28 10:28:44.000000000 +1100 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include --- trafshow.c.orig 2009-03-28 10:33:50.000000000 +1100 +++ trafshow.c 2009-03-28 10:27:52.000000000 +1100 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include --------------010107020601060704070508--