svn commit: r527878 - head/audio/linux-c7-alsa-plugins-pulseaudio

Alexey Dokuchaev danfe at FreeBSD.org
Fri Mar 6 12:47:03 UTC 2020


Author: danfe
Date: Fri Mar  6 12:47:02 2020
New Revision: 527878
URL: https://svnweb.freebsd.org/changeset/ports/527878

Log:
  Replace the symlink to an absolute patch, which escapes Linuxolator's
  translation, to a relative one.
  
  This allows to unbreak several "Enhanced Edition" games (BG, PST, IWD)
  when previously, the game started, but there was no sound.
  
  PR:	244624

Modified:
  head/audio/linux-c7-alsa-plugins-pulseaudio/Makefile

Modified: head/audio/linux-c7-alsa-plugins-pulseaudio/Makefile
==============================================================================
--- head/audio/linux-c7-alsa-plugins-pulseaudio/Makefile	Fri Mar  6 12:43:06 2020	(r527877)
+++ head/audio/linux-c7-alsa-plugins-pulseaudio/Makefile	Fri Mar  6 12:47:02 2020	(r527878)
@@ -4,6 +4,7 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.1.6
 DISTVERSIONSUFFIX=	-1.el7
+PORTREVISION=	1
 CATEGORIES=	audio linux
 PKGNAMESUFFIX=	-pulseaudio
 
@@ -24,5 +25,9 @@ DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
 DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${LN} -sf ../../../usr/share/alsa/alsa.conf.d/50-pulseaudio.conf \
+		${WRKSRC}/etc/alsa/conf.d
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list