multimedia/baka-mplayer: unbreak with mpv 0.35

src/mpvhandler.cpp:218: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/mpvhandler.cpp:221:18: error: use of undeclared identifier 'MPV_EVENT_PAUSE'
            case MPV_EVENT_PAUSE:
                 ^
This commit is contained in:
Jan Beich 2022-10-16 05:17:54 +00:00
parent 6343fc8a79
commit 44dad2d3ff
2 changed files with 10 additions and 1 deletions

View File

@ -1,9 +1,13 @@
PORTNAME= baka-mplayer
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.4
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= multimedia audio
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 7864f248c3fc.patch:-p1 # https://github.com/u8sand/Baka-MPlayer/pull/317
PATCHFILES+= fb0cd8133d45.patch:-p1 # https://github.com/u8sand/Baka-MPlayer/pull/317
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Qt 5 multimedia player based on libmpv
WWW= https://bakamplayer.u8sand.net/

View File

@ -1,2 +1,7 @@
TIMESTAMP = 1448985828
SHA256 (u8sand-Baka-MPlayer-v2.0.4_GH0.tar.gz) = 43647217695bdfc85771ce2fc8fcecebd49bdf6282c3a439816cfb4e08754002
SIZE (u8sand-Baka-MPlayer-v2.0.4_GH0.tar.gz) = 988060
SHA256 (7864f248c3fc.patch) = 234b4b15c6706aa38c38392ca2cfacc6bc5722c115f49a0335eb4d4984e8a14f
SIZE (7864f248c3fc.patch) = 3511
SHA256 (fb0cd8133d45.patch) = 3ffd9481f9abeb9ca21ec6726b0563cb0b6fe4f4098f45813b42e63569411ec9
SIZE (fb0cd8133d45.patch) = 758