Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2017 23:48:15 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        Kirill Ponomarev <kp@krion.cc>
Cc:        Cy Schubert <Cy.Schubert@komquats.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r436625 - in head/net/hostapd: . files
Message-ID:  <201703230648.v2N6mFGJ098443@slippy.cwsent.com>
In-Reply-To: Message from Kirill Ponomarev <kp@krion.cc> of "Thu, 23 Mar 2017 07:30:39 %2B0100." <20170323063039.tubjvx3gswqsqsj6@vein>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20170323063039.tubjvx3gswqsqsj6@vein>, Kirill Ponomarev writes:
> 
> 
> --vvjjvx7iao7mc43a
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On 03/22, Cy Schubert wrote:
> > > Author: krion
> > > Date: Tue Mar 21 17:50:35 2017
> > > New Revision: 436625
> > > URL: https://svnweb.freebsd.org/changeset/ports/436625
> > >=20
> > > Log:
> > >   Update net/hostapd to 2.6 and fix multiple vulnerabilities
> > >  =20
> > >   PR:		217907
> > >   Submitted by:	maintainer
> > >   Approved by:	mat (mentor)
> > >   Differential Revision: https://reviews.freebsd.org/D10051
> > >=20
> > > Deleted:
> > >   head/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
> >=20
> > Deletion of this file broke the port (at least on -CURRENT).
> 
> Hmm, I can build it on CURRENT.

Tell me which header BIOCIMMEDIATE is defined in your /usr/include. It 
should be in /usr/include/net/bpf.h. Without the missing patch net/bpf.h is 
not included.

I get this:

  cc  eap_register.c
  cc  ../src/eap_common/eap_common.c
../src/l2_packet/l2_packet_freebsd.c:148:36: error: use of undeclared 
identifier
      'BIOCIMMEDIATE'
                if (ioctl(pcap_fileno(l2->pcap), BIOCIMMEDIATE, &on) < 0) {
                                                 ^
error generated.
Makefile:1036: recipe for target '../src/l2_packet/l2_packet_freebsd.o' 
failed
gmake[1]: *** [../src/l2_packet/l2_packet_freebsd.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....



-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703230648.v2N6mFGJ098443>