From owner-svn-src-head@freebsd.org Wed May 30 11:36:33 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 506D4EEE6BD; Wed, 30 May 2018 11:36:33 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB29B7DCEF; Wed, 30 May 2018 11:36:32 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-qt0-x244.google.com with SMTP id d3-v6so22721575qtp.11; Wed, 30 May 2018 04:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XNlBmVKlCfSbXuElS7Qx/VLbVw9N1RyrSdeN1un17Os=; b=n9NhWHHh8waqGFAx8TUaEzyx65R3JUqVSPsTd43WWLyKqbEdivxdnYlzfnB1E97/RX FW6fSY6Ge/4mO2Ew2fPwN0L26kI/4ix33JDrFTwyqVKTQZlvNEQ67r1Br9EdqP41pbXh SO18Nvv+Af7Uc8QFNM6cbaCQWdWyNFi63BS99He5u+HZLzuABBy31YD+s8angMPoFoAu XdfT5Fz2BxztiCHDkCcyQyWY+HR+eEl9jINRy+qIgXFTyjXfLFyG8S9O0GvUn6foCpoO t6nZXjbOg4OSDfvuaMrBFhkgVCFS59xaQjefmcs4Qdxj0JqFytcT8K7EZeEjwfSZF10x BU+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XNlBmVKlCfSbXuElS7Qx/VLbVw9N1RyrSdeN1un17Os=; b=eYK/y9ZT/M10AF6KhtYB2DmFUWJ8mRiP/axI4cvxU0lv6JcACLxuEFmeqkUA146+iA nKt8+e+wAAjcZY6JGBnQpW9+SFTxpK+qDASklQ2CTJPSKiOVjYZdzjpU3YaG7ZLrLNNN 9y7oADYIsVxUbcbCFQbvvI5jhyZGbhyA9V3hC3CmLC12JW+7b74Y6yiBIYnwatKA6ryF ejhABANSV1RlIyEk+oU/cPGJWb9Cjgwemkm2CrxE7eySBlYqomM10itNnch5AIcrZWIs 81lpRNWR95evMgcZv5cfOoP3ZCtTfKUn3hHvKL2N34XWZ9/CWuNzZADbmcSYl/fSjVKF 8s8g== X-Gm-Message-State: APt69E1ooTzE4XTAdW9ue4P3xusoXRQJJ5SFBqd9821Z9NtHQwz/cHRZ rOTbhIyTPLLrodcRfaaOKSL20U4CFbIM+qAiRGA= X-Google-Smtp-Source: ADUXVKLOWC3HNIKV4PBvy+cTeNKkq6z2BUnuF4P3FTBH1np6B3Jy7zAREnHkREch+qq2ziTlQjP8BPopcatlNF64mm8= X-Received: by 2002:aed:2459:: with SMTP id s25-v6mr2007715qtc.289.1527680192469; Wed, 30 May 2018 04:36:32 -0700 (PDT) MIME-Version: 1.0 Sender: antoine.brodin.freebsd@gmail.com Received: by 2002:a0c:accf:0:0:0:0:0 with HTTP; Wed, 30 May 2018 04:36:31 -0700 (PDT) In-Reply-To: References: <201805280812.w4S8CI56046943@repo.freebsd.org> <383666b1-06a9-ac96-812f-c602c8e5e5af@selasky.org> <21342cd6-bf7e-263f-f077-2e073fe9ebef@selasky.org> <1cbed89b-e485-7f15-d3ab-f018024203eb@selasky.org> <56e03042-872c-36df-4fea-d22a09d7ffca@selasky.org> From: Antoine Brodin Date: Wed, 30 May 2018 11:36:31 +0000 X-Google-Sender-Auth: V6Mk4cDwijVaTxQCx10GSKKYjPk Message-ID: Subject: Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool To: Hans Petter Selasky Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: multipart/mixed; boundary="000000000000341336056d6ac375" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 11:36:33 -0000 --000000000000341336056d6ac375 Content-Type: text/plain; charset="UTF-8" On Wed, May 30, 2018 at 11:09 AM, Hans Petter Selasky wrote: > On 05/30/18 12:41, Antoine Brodin wrote: >> >> No this won't solve the issue, libpcap from ports isn't compiled with >> remote support. > > > Hi, > > Remote support is for WIN32 only from what I can see. > > Did you try my suggestions? > > The port builds fine over here with my patches. I tried your patch with libpcap from ports updated to last commit in github, it fails with the same error as with base libpcap. I suggest the attached patch which fixes the issue for me. (in my opinion upstream should generate the pcap/pcap.h file depending on the configure args) Cheers, Antoine --000000000000341336056d6ac375 Content-Type: text/x-patch; charset="US-ASCII"; name="pcap.diff" Content-Disposition: attachment; filename="pcap.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jht0rf6g0 SW5kZXg6IGNvbnRyaWIvbGlicGNhcC9wY2FwL3BjYXAuaAo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBjb250cmli L2xpYnBjYXAvcGNhcC9wY2FwLmgJKHJldmlzaW9uIDMzNDM3MykKKysrIGNvbnRyaWIvbGlicGNh cC9wY2FwL3BjYXAuaAkod29ya2luZyBjb3B5KQpAQCAtNjA3LDYgKzYwNyw3IEBACiAKICNlbmRp ZiAvKiBfV0lOMzIvTVNET1MvVU4qWCAqLwogCisjaWYgMAkvKiBSZW1vdGUgY2FwdHVyZSBpcyBk aXNhYmxlZCBvbiBGcmVlQlNEICovCiAvKgogICogUmVtb3RlIGNhcHR1cmUgZGVmaW5pdGlvbnMu CiAgKgpAQCAtOTY1LDYgKzk2Niw3IEBACiAJICAgIGNoYXIgKmVycmJ1Zik7CiBQQ0FQX0FQSSBp bnQJcGNhcF9yZW1vdGVhY3RfY2xvc2UoY29uc3QgY2hhciAqaG9zdCwgY2hhciAqZXJyYnVmKTsK IFBDQVBfQVBJIHZvaWQJcGNhcF9yZW1vdGVhY3RfY2xlYW51cCh2b2lkKTsKKyNlbmRpZgkvKiBS ZW1vdGUgY2FwdHVyZSBpcyBkaXNhYmxlZCBvbiBGcmVlQlNEICovCiAKICNpZmRlZiBfX2NwbHVz cGx1cwogfQo= --000000000000341336056d6ac375--