Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 11:36:31 +0000
From:      Antoine Brodin <antoine@freebsd.org>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
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
Message-ID:  <CAALwa8mrWih5d9M%2BT4NxJQEOUN-hnGZ8Sp2w0=5cWTQxVv=Hrw@mail.gmail.com>
In-Reply-To: <f81ad406-4e73-d709-49f7-f42e49c5b54e@selasky.org>
References:  <201805280812.w4S8CI56046943@repo.freebsd.org> <CAALwa8n-UUS8kHmWpiGxKGBWbu4epzTCeusMPg9-FpyMaWS%2BGw@mail.gmail.com> <383666b1-06a9-ac96-812f-c602c8e5e5af@selasky.org> <21342cd6-bf7e-263f-f077-2e073fe9ebef@selasky.org> <CAALwa8nEAh0Xny8_YF%2B4bdCU7tDQo84-kJBcot6ZPAg9Zi9TDg@mail.gmail.com> <1cbed89b-e485-7f15-d3ab-f018024203eb@selasky.org> <CAALwa8kMsiLxaaRgfw-qGrSfZhv2ov9wj_K3fEtRkqUnG7o0YQ@mail.gmail.com> <56e03042-872c-36df-4fea-d22a09d7ffca@selasky.org> <CAALwa8n5Lc0fvP6ec2F8Bnc7BnVDP05VT1GUtD6hsVFg68U8Ow@mail.gmail.com> <c4440e7a-0fb1-df27-0940-6093cf2ca7ca@selasky.org> <CAALwa8k4Vxwi_djFGCdZQ2o_OrVJHumJ4Khj3E6dZitdEEc8Eg@mail.gmail.com> <f81ad406-4e73-d709-49f7-f42e49c5b54e@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000341336056d6ac375
Content-Type: text/plain; charset="UTF-8"

On Wed, May 30, 2018 at 11:09 AM, Hans Petter Selasky <hps@selasky.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mrWih5d9M%2BT4NxJQEOUN-hnGZ8Sp2w0=5cWTQxVv=Hrw>