git: 44dad2d3ff3b - main - multimedia/baka-mplayer: unbreak with mpv 0.35

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 05:33:21 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44dad2d3ff3bf164483172c2ffc08dd11448256d

commit 44dad2d3ff3bf164483172c2ffc08dd11448256d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-16 05:17:54 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-16 05:33:11 +0000

    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:
                     ^
---
 multimedia/baka-mplayer/Makefile | 6 +++++-
 multimedia/baka-mplayer/distinfo | 5 +++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/multimedia/baka-mplayer/Makefile b/multimedia/baka-mplayer/Makefile
index 41aaa486e59c..19360f62bcb4 100644
--- a/multimedia/baka-mplayer/Makefile
+++ b/multimedia/baka-mplayer/Makefile
@@ -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/
diff --git a/multimedia/baka-mplayer/distinfo b/multimedia/baka-mplayer/distinfo
index fc9fad227916..238bf5f9f666 100644
--- a/multimedia/baka-mplayer/distinfo
+++ b/multimedia/baka-mplayer/distinfo
@@ -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