From nobody Mon Jul 4 17:09:44 2022 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0F0731AC7CB2 for ; Mon, 4 Jul 2022 17:09:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LcC3D4V90z4bqx for ; Mon, 4 Jul 2022 17:09:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 755F615227 for ; Mon, 4 Jul 2022 17:09:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 264H9iLI029291 for ; Mon, 4 Jul 2022 17:09:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 264H9iYs029290 for multimedia@FreeBSD.org; Mon, 4 Jul 2022 17:09:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 265024] multimedia/v4l-utils: fails to build with libepoll-shim 0.0.20220703 Date: Mon, 04 Jul 2022 17:09:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jan.kokemueller@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656954584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7dp3Bk3KNSeDB54eKfQVwFJNl0dk8TdYAV428ylzru4=; b=eBdJuJnVSJdWWVRFgvs5aoPcRVqmW6aJJL0ea9H2d5aejTuGHTrZ0gMkCRaqeRBoPW/QMr lSuDKO0BqVs8smItm7nlmManif59iYhsuE8Chw5VRq2tcdLOm45WduqVBZnHC4beR1AOfo iktZN8EWDprBtSTK+xXjQWavko+j3Gtf2iuWatdV9bnMamxv9v6m9Bixj0od00+F1bnnDh NRoLkkcnzYzgJkof1CBWjR5cw6Q/sksi1X0wgHSlvDDMCgDgNleAVW1mUXw7//IK4ON3lD qmH3zVnSO2PSjOZA+dI6IR+lh3lDHLSEU1OSAOSF3yqgeYe86W/bN5lDcKnwYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656954584; a=rsa-sha256; cv=none; b=Y7Npp6n0plpw/ylQtdJgBVCgs1u4UmCBfgoYLT8vUtVo74GVjRyzcxwT8Tbl9P81Iv6dkt ShSFEgTyoE2pLhkJJDHLj2xYReVYFz1B3OtgDrBKlbg3zDb9LSs7omDbho1GDSiFwJW4lc Z+Wk8CeRdM5A9LzgHuDfjaxDiPycNXwP3YsUoVw4o6zfHCqvuitOTJ+5BsfDoRaMm7DndI bliPwba2InOmyNIbyNqQ8OVetsTwhc7LybPZqP3GdZqNOfBFjZahV3+BT9LvquKHU/YbEI 4df/mgV3EmykyV8OByKYJdAxJZQTgEJQEUy8yauVhU/K1MQyRhjbrYvSroJqQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265024 --- Comment #4 from Jan Kokem=C3=BCller --- Would this also work? This replaces "f->close(f)" with "(f->close)(f)" simi= lar to . 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.=