git: a26844393bb2 - main - emulators/wine: Add dependency on alsa-plugins

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 11:18:19 UTC
The branch main has been updated by gerald:

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

commit a26844393bb20a18203cc5c218d593244c7ab577
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2023-08-16 11:17:32 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2023-08-16 11:17:32 +0000

    emulators/wine: Add dependency on alsa-plugins
    
    When using the ALSA option (which is not the default) audio did not
    worke - no audio device appeared for playing and recording and the
    following message appeared:
    
      ALSA lib dlmisc.c:285:(snd_dlobj_cache_get0) Cannot open shared
      library /usr/local/lib/alsa-lib/libasound_module_pcm_oss.so
    
    Providing alsa-plugins at run time addresses this.
    
    Bump PORTREVSION accordingly.
    
    PR:             273137
---
 emulators/wine/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index b592882758a1..432ec7d872c1 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wine
 DISTVERSION=	7.0.2
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	https://dl.winehq.org/wine/source/7.0/
@@ -78,6 +78,7 @@ PORTSCOUT=	limit:^7\.0
 
 ALSA_CONFIGURE_ON=	--with-alsa --without-oss
 ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+ALSA_RUN_DEPENDS=	libasound_module_pcm_oss.so:audio/alsa-plugins
 
 CUPS_CONFIGURE_WITH=	cups
 CUPS_LIB_DEPENDS=	libcups.so:print/cups