git: b01fa5620f5c - main - audio/ocp: Update to 0.2.103

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 17:57:23 UTC
The branch main has been updated by ehaupt:

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

commit b01fa5620f5c149229a0cb5d5fcca8b4766a25c5
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-02-18 17:56:44 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-02-18 17:57:18 +0000

    audio/ocp: Update to 0.2.103
---
 audio/ocp/Makefile                    |  2 +-
 audio/ocp/distinfo                    |  6 +++---
 audio/ocp/files/patch-devw_devwnone.c | 11 +++++++++++
 audio/ocp/pkg-plist                   | 20 ++++++++++----------
 4 files changed, 25 insertions(+), 14 deletions(-)

diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index f30f8ae17056..1c115c9edc0f 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ocp
-PORTVERSION=	0.2.102
+PORTVERSION=	0.2.103
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://stian.cubic.org/ocp/
diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo
index 711a20b09fcd..d1f5237c2d3d 100644
--- a/audio/ocp/distinfo
+++ b/audio/ocp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675595463
-SHA256 (ocp-0.2.102.tar.xz) = aea088879cc9641222c26de6715e86a55d18600d72c5a8e9660e197f9fafff9c
-SIZE (ocp-0.2.102.tar.xz) = 3849816
+TIMESTAMP = 1676724361
+SHA256 (ocp-0.2.103.tar.xz) = b526d27e983e292453d2ccc36946ee3efd3ba33ee0489507a9815f2f05a23b5e
+SIZE (ocp-0.2.103.tar.xz) = 3849176
diff --git a/audio/ocp/files/patch-devw_devwnone.c b/audio/ocp/files/patch-devw_devwnone.c
new file mode 100644
index 000000000000..deae25c42a75
--- /dev/null
+++ b/audio/ocp/files/patch-devw_devwnone.c
@@ -0,0 +1,11 @@
+--- devw/devwnone.c.orig	2023-02-18 17:11:26 UTC
++++ devw/devwnone.c
+@@ -493,7 +493,7 @@ static const struct mcpDevAPI_t *devwNoneInit (const s
+ 	return &devwNone;
+ }
+ 
+-static void devwNoneClose (const struct mcpDriver_t *)
++static void devwNoneClose (const struct mcpDriver_t *driver)
+ {
+ }
+ 
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 2be41c6742d2..c8985a6af98c 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -1,8 +1,12 @@
 bin/ocp
 bin/ocp-curses
+lib/ocp/autoload/35-devpdisk.so
+lib/ocp/autoload/35-devpnone.so
+lib/ocp/autoload/35-devwmix.so
+lib/ocp/autoload/35-devwmixf.so
+lib/ocp/autoload/35-devwnone.so
 lib/ocp/autoload/95-playay.so
 lib/ocp/autoload/95-playcda.so
-%%FLAC%%lib/ocp/autoload/95-playflac.so
 lib/ocp/autoload/95-playgmd.so
 lib/ocp/autoload/95-playhvl.so
 lib/ocp/autoload/95-playit.so
@@ -14,14 +18,9 @@ lib/ocp/autoload/95-playtimidity.so
 lib/ocp/autoload/95-playwav.so
 lib/ocp/autoload/95-playxm.so
 lib/ocp/autoload/95-playym.so
-lib/ocp/devpdisk.so
-lib/ocp/devpnone.so
-lib/ocp/devwmix.so
-lib/ocp/devwmixf.so
-lib/ocp/devwnone.so
-lib/ocp/libocp.so
 lib/ocp/autoload/freverb.so
 lib/ocp/autoload/ireverb.so
+lib/ocp/libocp.so
 man/man1/ocp.1.gz
 share/mime/audio/x-ams.xml
 share/mime/audio/x-ay.xml
@@ -32,11 +31,12 @@ share/mime/audio/x-ptm.xml
 share/mime/audio/x-ym.xml
 share/mime/packages/opencubicplayer.xml
 %%ADPLUG%%%%DATADIR%%/data/adplug.db
-%%ALSA%%lib/ocp/devpalsa.so
+%%ALSA%%lib/ocp/autoload/35-devpalsa.so
 %%DATADIR%%/data/ocp.hlp
 %%DATADIR%%/etc/ocp.ini
 %%DESKTOP%%share/applications/cubic.org-opencubicplayer.desktop
-%%OSS%%lib/ocp/devposs.so
+%%FLAC%%lib/ocp/autoload/95-playflac.so
+%%OSS%%lib/ocp/autoload/35-devposs.so
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -53,7 +53,7 @@ share/mime/packages/opencubicplayer.xml
 %%PORTDOCS%%%%DOCSDIR%%/html/support.html
 %%PORTDOCS%%%%DOCSDIR%%/html/wap.html
 %%SDL%%bin/ocp-sdl2
-%%SDL%%lib/ocp/devpsdl2.so
+%%SDL%%lib/ocp/autoload/35-devpsdl2.so
 %%XORG%%bin/ocp-x11
 %%XORG%%share/icons/hicolor/128x128/apps/opencubicplayer.png
 %%XORG%%share/icons/hicolor/16x16/apps/opencubicplayer.png