aboutsummaryrefslogtreecommitdiff
path: root/audio/linux-c7-alsa-plugins-pulseaudio
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-03-06 12:47:02 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-03-06 12:47:02 +0000
commit18e493b5850f506101fc4f06e7468a4815e5423b (patch)
tree0844d4110287f9990f225907ad9c8e1d3a7db736 /audio/linux-c7-alsa-plugins-pulseaudio
parent0fadf1507245d20b3ae1368ff39950806a359ea9 (diff)
downloadports-18e493b5850f506101fc4f06e7468a4815e5423b.tar.gz
ports-18e493b5850f506101fc4f06e7468a4815e5423b.zip
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
Notes
Notes: svn path=/head/; revision=527878
Diffstat (limited to 'audio/linux-c7-alsa-plugins-pulseaudio')
-rw-r--r--audio/linux-c7-alsa-plugins-pulseaudio/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/linux-c7-alsa-plugins-pulseaudio/Makefile b/audio/linux-c7-alsa-plugins-pulseaudio/Makefile
index b122fb6f4f72..f9ff76d4e909 100644
--- a/audio/linux-c7-alsa-plugins-pulseaudio/Makefile
+++ b/audio/linux-c7-alsa-plugins-pulseaudio/Makefile
@@ -4,6 +4,7 @@
PORTNAME= alsa-plugins
PORTVERSION= 1.1.6
DISTVERSIONSUFFIX= -1.el7
+PORTREVISION= 1
CATEGORIES= audio linux
PKGNAMESUFFIX= -pulseaudio
@@ -25,4 +26,8 @@ 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>