Solution: Revert this: -check_header linux/fb.h -check_header linux/videodev.h -check_header linux/videodev2.h -check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; vfse.discrete.width = 0;" && enable_safe struct_v4l2_frmivalenum_discrete +#check_header linux/fb.h +#check_header linux/videodev.h +#check_header linux/videodev2.h +#check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse; vfse.discrete.width = 0;" && enable_safe struct_v4l2_frmivalenum_discrete check_header sys/videoio.h And substitute all occurences of sys_videoio_h with linux_videodev2_h in the configure script. Then it works again.
over to maintainer
Would you be able to provide a patch? Thanks!
I'll see what I can do. --HPS
Created attachment 146437 [details] Fix build of V4L2 support in FFMPEG
A commit references this bug: Author: riggs Date: Sat Aug 30 07:47:32 UTC 2014 New revision: 366591 URL: http://svnweb.freebsd.org/changeset/ports/366591 Log: - Restore V4L2 interface PR: 192579 Submitted by: hselasky@FreeBSD.org Changes: head/multimedia/ffmpeg/Makefile head/multimedia/ffmpeg/files/patch-configure
(In reply to Hans Petter Selasky from comment #0) > And substitute all occurences of sys_videoio_h with linux_videodev2_h in the > configure script. Why does this matter if dependency ends with |_any|? sys/videoio.h is part of video(4) or v4l2 on netbsd/openbsd.
This does not matter and was not done, except for removing the dependency for V4L2 driver. --HPS