Include upstream fix for 24-bit audio (disable it).
Silence a REINPLACE_CMD while we are here. PR: ports/155168 Submitted by: Chris Rees <utisoft@gmail.com> (maintainer)
This commit is contained in:
parent
7027d395cb
commit
3b67e7aff4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270074
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= musicpd
|
||||
PORTVERSION= 0.16.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio ipv6
|
||||
MASTER_SITES= SF/${PORTNAME}/mpd/${PORTVERSION}
|
||||
DISTNAME= mpd-${PORTVERSION}
|
||||
@ -226,9 +226,13 @@ CONFIGURE_ARGS+=--enable-lsr
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Fix issues with garbled sound for 24-bit on FreeBSD. This is fixed in git,
|
||||
# so should be removed with next update.
|
||||
@${REINPLACE_CMD} -e '383,395d;421,430d' \
|
||||
${WRKSRC}/src/output/oss_plugin.c
|
||||
@${REINPLACE_CMD} -e "s/%%MPDDIR%%/${PREFIX:C/\//\\\//g}\/${MPDDIR:C/\//\\\//g}/g" -e "s/%%MPDUSER%%/${MPDUSER}/g" \
|
||||
${WRKSRC}/doc/mpdconf.example
|
||||
${REINPLACE_CMD} -e 's/tremor == xno/tremor = xno/' \
|
||||
@${REINPLACE_CMD} -e 's/tremor == xno/tremor = xno/' \
|
||||
${WRKSRC}/configure
|
||||
.if (${OSVERSION} < 800000)
|
||||
${REINPLACE_CMD} -e 's/nan[f]\{0,1\}(\"\")/NAN/g' \
|
||||
|
Loading…
Reference in New Issue
Block a user