[Bug 267116] misc/orion: fails to build with mpv 0.35

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Oct 2022 06:07:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267116

            Bug ID: 267116
           Summary: misc/orion: fails to build with mpv 0.35
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 267113
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Regressed by http://github.com/mpv-player/mpv/commit/632059816add. Can you
provide a fix or ask upstream? Otherwise, this port will be marked BROKEN or
switched to mpv034 (port fork).

src/player/mpvobject.cpp:73:82: error: excess elements in struct initializer
            mpv_opengl_init_params gl_init_params{get_proc_address_mpv,
nullptr, nullptr};
                                                                               
 ^~~~~~~
src/player/mpvobject.cpp:282:18: error: use of undeclared identifier
'MPV_EVENT_UNPAUSE'; did you mean 'MPV_EVENT_NONE'?
            case MPV_EVENT_UNPAUSE:
                 ^~~~~~~~~~~~~~~~~
                 MPV_EVENT_NONE
/usr/local/include/mpv/client.h:1223:5: note: 'MPV_EVENT_NONE' declared here
    MPV_EVENT_NONE              = 0,
    ^
src/player/mpvobject.cpp:284:18: error: use of undeclared identifier
'MPV_EVENT_PAUSE'
            case MPV_EVENT_PAUSE:
                 ^


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267113
[Bug 267113] multimedia/mpv: update to 0.35.0
-- 
You are receiving this mail because:
You are the assignee for the bug.