MFH: r498056

Update to upstream release 0.21.7

Details:
- Mostly bug fixes, see upstream changelog:
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.7/NEWS
- Add NFS support via libnfs as non-default OPTION

Approved by:	ports-secteam (riggs)
This commit is contained in:
Thomas Zander 2019-04-06 06:43:53 +00:00
parent 705177ce93
commit b837134d65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=498057
3 changed files with 30 additions and 9 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= musicpd
PORTVERSION= 0.21.6
PORTREVISION= 1
PORTVERSION= 0.21.7
CATEGORIES= audio ipv6
MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/
DISTNAME= mpd-${PORTVERSION}
@ -54,7 +53,8 @@ OPTIONS_MULTI_FILE_FORMAT= \
OPTIONS_GROUP= ACCESS PLAYBACK
OPTIONS_GROUP_ACCESS= CDPARANOIA CURL MMS PLAYLISTS QOBUZ SMB SOUNDCLOUD TIDAL YAJL
OPTIONS_GROUP_ACCESS= CDPARANOIA CURL MMS NFS PLAYLISTS QOBUZ \
SMB SOUNDCLOUD TIDAL YAJL
OPTIONS_GROUP_PLAYBACK= AO JACK OPENAL PULSEAUDIO \
SHOUTCAST SNDIO
@ -76,8 +76,8 @@ WILDMIDI_DESC= WildMIDI support (MIDI files)
YAJL_DESC= JSON support via libyajl
ZZIP_DESC= Support for zzip archives
OPTIONS_DEFAULT=AUDIOFILE CURL FFMPEG FLAC ID3TAG MAD PLAYLISTS SNDFILE \
VORBIS VORBISENC
OPTIONS_DEFAULT=AUDIOFILE CURL FFMPEG FLAC ID3TAG MAD \
PLAYLISTS SNDFILE VORBIS VORBISENC
# Decoder plugins
ADPLUG_MESON_ENABLED= adplug
@ -106,7 +106,9 @@ MPG123_MESON_ENABLED= mpg123
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123
MUSEPACK_MESON_ENABLED= mpcdec
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
OPUS_MESON_ENABLED= opus
NFS_MESON_ENABLED= nfs
NFS_LIB_DEPENDS= libnfs.so:net/libnfs
OPUS_MESON_ENABLED= opus
OPUS_LIB_DEPENDS= libopus.so:audio/opus \
libogg.so:audio/libogg
PLAYLISTS_MESON_ENABLED=expat

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1553120841
SHA256 (mpd-0.21.6.tar.xz) = 8d4d116acc069872ba68741016d284885e93f8558a88d0c7ed246b8e1f40e59f
SIZE (mpd-0.21.6.tar.xz) = 669272
TIMESTAMP = 1554477669
SHA256 (mpd-0.21.7.tar.xz) = 512062bc529bee04d4ccfaa2c6e720afc85bb071e49850a096b5ed518b3b412c
SIZE (mpd-0.21.7.tar.xz) = 670268

View File

@ -0,0 +1,19 @@
--- src/lib/nfs/Error.cxx.orig 2019-04-03 10:23:57 UTC
+++ src/lib/nfs/Error.cxx
@@ -33,12 +33,13 @@
#include "Error.hxx"
#include "util/StringFormat.hxx"
+#include <assert.h>
+#include <string.h>
+#include <sys/time.h>
+
extern "C" {
#include <nfsc/libnfs.h>
}
-
-#include <assert.h>
-#include <string.h>
static StringBuffer<256>
FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept