Date: Mon, 04 Jul 2022 17:09:44 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 265024] multimedia/v4l-utils: fails to build with libepoll-shim 0.0.20220703 Message-ID: <bug-265024-12827-lcssmO1fwh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265024-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-265024-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265024 --- Comment #4 from Jan Kokem=C3=BCller <jan.kokemueller@gmail.com> --- Would this also work? This replaces "f->close(f)" with "(f->close)(f)" simi= lar to <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265021#c2>. diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile index ff1a2d757e7..186f61d12ae 100644 --- a/multimedia/libv4l/Makefile +++ b/multimedia/libv4l/Makefile @@ -78,6 +78,11 @@ post-patch: # Don't build translation files for now @${REINPLACE_CMD} -e 's|v4l-utils-po libdvbv5-po||g' ${WRKSRC}/Makefile.am .endif +.if ${PORTNAME} =3D=3D v4l-utils + @${REINPLACE_CMD} -e 's|\([^[:space:]]*\->close\)(|(\1)(|g' \ + ${WRKSRC}/utils/common/cv4l-helpers.h \ + ${WRKSRC}/utils/common/v4l-helpers.h +.endif # Remove old FreeBSD include files (to be removed upstream) @${RM} -r ${WRKSRC}/contrib/freebsd/include/* # Create symbolic link for Linux sources --=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-265024-12827-lcssmO1fwh>