git: 39e1835244cb - main - audio/ocp: Update to 0.2.91

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 10 Jan 2022 13:19:41 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39e1835244cbdb461de7af510a26a3004408f3f0

commit 39e1835244cbdb461de7af510a26a3004408f3f0
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-01-10 13:19:36 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-01-10 13:19:36 +0000

    audio/ocp: Update to 0.2.91
---
 audio/ocp/Makefile                    |  6 +++---
 audio/ocp/distinfo                    |  6 +++---
 audio/ocp/files/patch-help_cphelper.c | 10 ++++++++++
 audio/ocp/pkg-plist                   |  2 +-
 4 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 06a85dff87d2..ab7555feb177 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,8 +1,7 @@
 # Created by: Emanuel Haupt <ehaupt@critical.ch>
 
 PORTNAME=	ocp
-PORTVERSION=	0.2.90
-PORTREVISION=	1
+PORTVERSION=	0.2.91
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/mywave82/opencubicplayer/releases/download/v${PORTVERSION}/
@@ -16,7 +15,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 ONLY_FOR_ARCHS=	amd64 i386 powerpc powerpc64 powerpc64le
 
 BUILD_DEPENDS=	xa65:devel/xa65
-LIB_DEPENDS=	libid3tag.so:audio/libid3tag \
+LIB_DEPENDS=	libdiscid.so:audio/libdiscid \
+		libid3tag.so:audio/libid3tag \
 		libmad.so:audio/libmad \
 		libogg.so:audio/libogg \
 		libvorbis.so:audio/libvorbis
diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo
index 45417e1c12f0..01ae4e4fb9b6 100644
--- a/audio/ocp/distinfo
+++ b/audio/ocp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616160688
-SHA256 (ocp-0.2.90.tar.bz2) = 9b2fbacd3ecc6e5c1f4d5c7d1cec1b51846c9a702c17516ab7cd1159cad97be1
-SIZE (ocp-0.2.90.tar.bz2) = 3018567
+TIMESTAMP = 1641726145
+SHA256 (ocp-0.2.91.tar.bz2) = 677893ce9c1fa3b15450157fe91e042dd960910e517a94000e27fbabdc445198
+SIZE (ocp-0.2.91.tar.bz2) = 3037842
diff --git a/audio/ocp/files/patch-help_cphelper.c b/audio/ocp/files/patch-help_cphelper.c
new file mode 100644
index 000000000000..3f267e770a70
--- /dev/null
+++ b/audio/ocp/files/patch-help_cphelper.c
@@ -0,0 +1,10 @@
+--- help/cphelper.c.orig	2022-01-10 12:57:52 UTC
++++ help/cphelper.c
+@@ -98,6 +98,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <zlib.h>
++#include <types.h>
+ #include "boot/psetting.h"
+ #include "boot/plinkman.h"
+ #include "cpiface/cpiface.h"
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index f0d1a86656df..7495f3a254c1 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -43,6 +43,7 @@ lib/ocp/loadstm.so
 lib/ocp/loadult.so
 lib/ocp/medialib.so
 lib/ocp/playay.so
+lib/ocp/playcda.so
 %%FLAC%%lib/ocp/playflac.so
 lib/ocp/playgmd.so
 lib/ocp/playhvl.so
@@ -67,7 +68,6 @@ lib/ocp/playym.so
 %%PORTDOCS%%%%DOCSDIR%%/html/faq.html
 %%PORTDOCS%%%%DOCSDIR%%/html/fileselector.html
 %%PORTDOCS%%%%DOCSDIR%%/html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/html/mdz.html
 %%PORTDOCS%%%%DOCSDIR%%/html/player.html
 %%PORTDOCS%%%%DOCSDIR%%/html/specialdrive.html
 %%PORTDOCS%%%%DOCSDIR%%/html/starting.html