[Bug 285800] multimedia/kodi fix build with pipewire >= 1.4.0 (no matching function)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Mar 2025 08:15:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285800

            Bug ID: 285800
           Summary: multimedia/kodi fix build with pipewire >= 1.4.0 (no
                    matching function)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: milios@ccsys.com
                CC: yzrh@noema.org
             Flags: maintainer-feedback?(yzrh@noema.org)
                CC: yzrh@noema.org
 Attachment #259206 maintainer-approval?
             Flags:

Created attachment 259206
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259206&action=edit
git -C /usr/ports diff

/usr/ports/multimedia/kodi/work/xbmc-21.0-Omega/xbmc/cores/AudioEngine/Sinks/pipewire/PipewireNode.cpp:43:7:
error: no matching function for call to 'pw_node_enum_params'
   43 |       pw_node_enum_params(m_proxy.get(), 0, m_info->params[param].id,
0, 0, NULL);
      |       ^~~~~~~~~~~~~~~~~~~
/usr/local/include/pipewire-0.3/pipewire/node.h:208:22: note: candidate
function not viable: cannot convert argument of incomplete type 'pointer' (aka
'pw_proxy *') to 'struct pw_node *' for 1st argument
  208 | PW_API_NODE_IMPL int pw_node_enum_params(struct pw_node *object,
      |                      ^                   ~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: ***
[build/cores/audioengine/CMakeFiles/audioengine.dir/build.make:446:
build/cores/audioengine/CMakeFiles/audioengine.dir/Sinks/pipewire/PipewireNode.cpp.o]
Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.