On Mon, Mar 24, 2025 at 1:15 AM Jonathan Chen <j...@chen.org.nz> wrote:
>
> Hi,
>
> Building www/chromium 134.0.6998.165 on my 14-STABLE/amd64 currently fails 
> with:
>
> ../../third_party/webrtc/modules/video_capture/linux/pipewire_session.cc:90:3:
>  error: no matching function for call to 'pw_node_add_listener'
>    90 |   pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
>       |   ^~~~~~~~~~~~~~~~~~~~
> /usr/local/include/pipewire-0.3/pipewire/node.h:189:22: note: candidate 
> function not viable: cannot convert argument of incomplete type 'pw_proxy *' 
> to 'struct pw_node *' for 1st argument
>   189 | PW_API_NODE_IMPL int pw_node_add_listener(struct pw_node *object,
>       |                      ^                    ~~~~~~~~~~~~~~~~~~~~~~
> ../../third_party/webrtc/modules/video_capture/linux/pipewire_session.cc:122:9:
>  error: no matching function for call to 'pw_node_enum_params'
>   122 |         pw_node_enum_params(that->proxy_, 0, id, 0, UINT32_MAX, 
> nullptr);
>       |         ^~~~~~~~~~~~~~~~~~~
> /usr/local/include/pipewire-0.3/pipewire/node.h:208:22: note: candidate 
> function not viable: cannot convert argument of incomplete type 'pw_proxy *' 
> to 'struct pw_node *' for 1st argument
>   208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
>       |                      ^                   ~~~~~~~~~~~~~~~~~~~~~~
> 2 errors generated
>
> Is anyone else seeing this?

Yes, sorry for the breakage. There is a simple patch that should help
amending the issue:
https://github.com/dsh2dsh/freebsd-ports/blob/master/www/ungoogled-chromium/files/patch-third__party_webrtc_modules_video__capture_linux_pipewire__session.cc
I already notified the maintainer about it.

Reply via email to