[Bug 265021] sysutils/rshim-user-space: fails to build with libepoll-shim 0.0.20220703
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 22:14:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265021 Bug ID: 265021 Summary: sysutils/rshim-user-space: fails to build with libepoll-shim 0.0.20220703 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: hselasky@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: jan.kokemueller@gmail.com Blocks: 265017 Flags: maintainer-feedback?(hselasky@FreeBSD.org) Assignee: hselasky@FreeBSD.org Apply bug 265017 then try to build. $ make [...] rshim.c:1208:15: error: no member named 'epoll_shim_read' in 'struct rshim_backend' len = bd->read(bd, RSH_DEV_TYPE_TMFIFO, (char *)bd->read_buf, ~~ ^ /usr/local/include/libepoll-shim/epoll-shim/detail/read.h:10:19: note: expanded from macro 'read' #define read(...) epoll_shim_read(__VA_ARGS__) ^ 1 error generated. Workaround (untested): #ifdef read #define old_read read #undef read #endif len = bd->read(bd, RSH_DEV_TYPE_TMFIFO, (char *)bd->read_buf, READ_BUF_SIZE); #ifdef old_read #define read old_read #undef old_read #endif Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265017 [Bug 265017] devel/libepoll-shim: update to 0.0.20220703 -- You are receiving this mail because: You are the assignee for the bug.