Date: Sun, 03 Jul 2022 22:14:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265021] sysutils/rshim-user-space: fails to build with libepoll-shim 0.0.20220703 Message-ID: <bug-265021-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265021 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 =3D 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 =3D 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=3D265017 [Bug 265017] devel/libepoll-shim: update to 0.0.20220703 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265021-7788>