maintainer-feedback requested: [Bug 265024] multimedia/v4l-utils: fails to build with libepoll-shim 0.0.20220703

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Jul 2022 07:52:21 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 265024: multimedia/v4l-utils: fails to build with libepoll-shim
0.0.20220703
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265024



--- Description ---
Apply bug 265017 then try to build. See also 265021 comment 1.

$ make
[...]
In file included from v4l2-ctl.cpp:31:
In file included from ./v4l2-ctl.h:26:
In file included from ../../utils/common/cv4l-helpers.h:13:
../../utils/common/v4l-helpers.h:248:15: error: no member named
'epoll_shim_close' in 'v4l_fd'
	int res = f->close(f);
		  ~  ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:18:20: note:
expanded from macro 'close'
#define close(...) epoll_shim_close(__VA_ARGS__)
		   ^
In file included from v4l2-ctl.cpp:31:
In file included from ./v4l2-ctl.h:26:
In file included from ../../utils/common/cv4l-helpers.h:13:
../../utils/common/v4l-helpers.h:462:6: error: no member named
'epoll_shim_close' in 'v4l_fd'
		f->close(f);
		~  ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:18:20: note:
expanded from macro 'close'
#define close(...) epoll_shim_close(__VA_ARGS__)
		   ^
In file included from v4l2-ctl.cpp:31:
In file included from ./v4l2-ctl.h:26:
In file included from ../../utils/common/cv4l-helpers.h:13:
../../utils/common/v4l-helpers.h:511:6: error: no member named
'epoll_shim_close' in 'v4l_fd'
		f->close(f);
		~  ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:18:20: note:
expanded from macro 'close'
#define close(...) epoll_shim_close(__VA_ARGS__)
		   ^
In file included from v4l2-ctl.cpp:31:
In file included from ./v4l2-ctl.h:26:
In file included from ../../utils/common/cv4l-helpers.h:13:
../../utils/common/v4l-helpers.h:544:6: error: no member named
'epoll_shim_close' in 'v4l_fd'
		f->close(f);
		~  ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:18:20: note:
expanded from macro 'close'
#define close(...) epoll_shim_close(__VA_ARGS__)
		   ^
In file included from v4l2-ctl.cpp:31:
In file included from ./v4l2-ctl.h:26:
In file included from ../../utils/common/cv4l-helpers.h:13:
../../utils/common/v4l-helpers.h:576:5: error: no member named
'epoll_shim_close' in 'v4l_fd'
	f->close(f);
	~  ^
/usr/local/include/libepoll-shim/epoll-shim/detail/common.h:18:20: note:
expanded from macro 'close'
#define close(...) epoll_shim_close(__VA_ARGS__)
		   ^