HomeFreeBSD

net/libfabric: unbreak build after r525983

Description

net/libfabric: unbreak build after r525983

src/fabric.c:683:7: error: no member named 'epoll_shim_close' in 'fi_ops'

FI_CHECK_OP(info->nic->fid.ops, struct fi_ops, close)) {
^                                              ~~~~~

./include/rdma/fabric.h:555:23: note: expanded from macro 'FI_CHECK_OP'

(ops && (ops->size > offsetof(opstype, op)) && ops->op)
                     ^                 ~~

/usr/include/stddef.h:73:31: note: expanded from macro 'offsetof'
#define offsetof(type, field) __offsetof(type, field)

^                ~~~~~

/usr/include/sys/cdefs.h:487:34: note: expanded from macro 'offsetof'
#define
offsetof(type, field) __builtin_offsetof(type, field)

^                        ~~~~~

src/fabric.c:683:54: error: no member named 'epoll_shim_close' in 'struct fi_ops'

FI_CHECK_OP(info->nic->fid.ops, struct fi_ops, close)) {
            ~~~~~~~~~~~~~~~~~~                 ^

/usr/local/include/libepoll-shim/sys/epoll.h:74:15: note: expanded from macro 'close'
#define close epoll_shim_close

^

./include/rdma/fabric.h:555:54: note: expanded from macro 'FI_CHECK_OP'

(ops && (ops->size > offsetof(opstype, op)) && ops->op)
                                               ~~~  ^

PR: 244103
Reported by: pkg-fallout
Reviewed by: Jan Kokemüller (epoll-shim upstream)
Approved by: yuri (maintainer)

Details

Provenance
jbeichAuthored on
Parents
rP526105: Update misc/ytree to version 2.01.
Branches
Unknown
Tags
Unknown