pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/libv4l



On Mon, Sep 10, 2018 at 04:18:45PM +0100, Robert Swindells wrote:
> 
> Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> >On Sun, Sep 09, 2018 at 06:19:25PM +0100, Robert Swindells wrote:
> >> I could use some ideas on how to check whether the NetBSD build host
> >> has the new version of videoio.h
> >
> >How do they differ?
> 
> Old:
> 
> -rw-r--r--  1 rjs  staff  20927 Sep 17  2008 videoio.h
> 
> New:
> 
> -rw-rw-r--  1 rjs  staff  130935 Aug 25 23:41 videoio.h
> 
> The new one is copied from OpenBSD.

The first #define in the OpenBSD one is V4L2_SEL_TGT_CROP, which doesn't
seem to exist in the NetBSD one. Would something like

  #if defined(HAVE_VIDEOIO_H) && defined(V4L2_SEL_TGT_CROP)

be good enough? Or what issue have you hit? (AC_EGREP_HEADER?)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index