FreeBSD Bugzilla – Attachment 211624 Details for
Bug 244106
net/libfabric: fails to build against libepoll-shim-0.0.20200212
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
undef conflicts
undef-conflicts.diff (text/plain), 2.89 KB, created by
Jan Beich
on 2020-02-13 20:32:05 UTC
(
hide
)
Description:
undef conflicts
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2020-02-13 20:32:05 UTC
Size:
2.89 KB
patch
obsolete
>From f7536152c760a12104530f1d95921d2c2ce9b63a Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Thu, 13 Feb 2020 19:11:18 +0000 >Subject: [PATCH] net/libfabric: unbreak after r525983 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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: 244106 >Reviewed by: Jan Kokemüller (epoll-shim upstream) >Approved by: yuri (maintainer) >--- > net/libfabric/Makefile | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/net/libfabric/Makefile b/net/libfabric/Makefile >index b86484e3f54b..c1567dd38456 100644 >--- a/net/libfabric/Makefile >+++ b/net/libfabric/Makefile >@@ -45,5 +45,10 @@ post-patch: > @${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<asm/types\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<asm/types\.h>|<sys/types.h>|' > @${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<malloc\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<malloc\.h>|<stdlib.h>|' > @${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<alloca\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<alloca\.h>|<stdlib.h>|' >+ @${GREP} -Flr '.close' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} $$'/\\.close/i\\\n#ifdef SHIM_SYS_SHIM_HELPERS\\\n#undef close\\\n#endif\n' >+ @${REINPLACE_CMD} $$'/fi_ops.*close/i\\\n#ifdef SHIM_SYS_SHIM_HELPERS\\\n#undef close\\\n#endif\n' ${WRKSRC}/src/fabric.c >+ @${REINPLACE_CMD} -e $$'/\\*close/i\\\n#ifdef SHIM_SYS_SHIM_HELPERS\\\n#undef close\\\n#endif\n' \ >+ -e $$'/ops->close/a\\\n#ifdef SHIM_SYS_SHIM_HELPERS\\\n#define close epoll_shim_close\\\n#endif\n' \ >+ ${WRKSRC}/include/rdma/fabric.h > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244106
:
211623
|
211624
|
211633
|
211634