[Bug 265024] multimedia/v4l-utils: fails to build with libepoll-shim 0.0.20220703
Date: Mon, 04 Jul 2022 09:33:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265024 --- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> --- Hi, Can epollshim do like this, for "close" and all other similar functions: #define close(...) close(__VA_ARGS__) static inline int close(int fd) { epoll_shim_close(fd); } #undef close Maybe you need a similar hack before including the global definition of close and friends too: #define close(...) close_not_used(__VA_ARGS__) #include <unistd.h> #undef close --HPS -- You are receiving this mail because: You are the assignee for the bug.