From owner-freebsd-current@FreeBSD.ORG Tue Oct 29 13:43:09 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 10124979 for ; Tue, 29 Oct 2013 13:43:09 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A78327ED for ; Tue, 29 Oct 2013 13:43:07 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r9TDh69o037090; Tue, 29 Oct 2013 17:43:06 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r9TDh6FS037089; Tue, 29 Oct 2013 17:43:06 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 29 Oct 2013 17:43:06 +0400 From: Gleb Smirnoff To: dt71@gmx.com Subject: Re: buildworld failure: pfvar.h:44 #include not found Message-ID: <20131029134306.GJ52889@glebius.int.ru> References: <526EE1E1.6090905@gmx.com> <20131028223334.GE52889@FreeBSD.org> <526F0306.6080702@gmx.com> <20131029041936.GR52889@glebius.int.ru> <526FB9D1.1020608@gmx.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="lt3WynA+XK9Fj6D4" Content-Disposition: inline In-Reply-To: <526FB9D1.1020608@gmx.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 13:43:09 -0000 --lt3WynA+XK9Fj6D4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 29, 2013 at 02:36:17PM +0100, dt71@gmx.com wrote: d> Gleb Smirnoff wrote, On 10/29/2013 05:19: d> > +1 patch. d> So far, so good: d> d> ===> usr.sbin/tcpdump/tcpdump (depend) +1 patch -- Totus tuus, Glebius. --lt3WynA+XK9Fj6D4 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="tcpdump.diff" Index: contrib/tcpdump/print-ip.c =================================================================== --- contrib/tcpdump/print-ip.c (revision 257321) +++ contrib/tcpdump/print-ip.c (working copy) @@ -483,9 +483,11 @@ again: pgm_print(ipds->cp, ipds->len, (const u_char *)ipds->ip); break; +#if defined(HAVE_NET_PFVAR_H) case IPPROTO_PFSYNC: pfsync_ip_print(ipds->cp, ipds->len); break; +#endif default: if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL) Index: usr.sbin/tcpdump/tcpdump/Makefile =================================================================== --- usr.sbin/tcpdump/tcpdump/Makefile (revision 257321) +++ usr.sbin/tcpdump/tcpdump/Makefile (working copy) @@ -89,7 +89,6 @@ SRCS= addrtoname.c \ print-olsr.c \ print-ospf.c \ print-otv.c \ - print-pfsync.c \ print-pgm.c \ print-pim.c \ print-ppi.c \ @@ -171,7 +170,8 @@ CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H .endif .if ${MK_PF} != "no" -SRCS+= print-pflog.c +SRCS+= print-pflog.c \ + print-pfsync.c CFLAGS+= -DHAVE_NET_PFVAR_H .endif --lt3WynA+XK9Fj6D4--