pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: Update to 0.21.21



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d65c1adb03a
branches:  trunk
changeset: 413432:9d65c1adb03a
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 20 10:23:03 2020 +0000

description:
musicpd: Update to 0.21.21

ver 0.21.21 (2020/03/19)
* configuration
  - fix bug in "metadata_to_use" setting
* playlist
  - asx, xspf: fix corrupt tags in the presence of XML entities
* archive
  - iso9660: skip empty file names to work around libcdio bug
* decoder
  - gme: ignore empty tags
* output
  - solaris: port to NetBSD
* raise default "max_connections" value to 100

diffstat:

 audio/musicpd/Makefile                                                 |   5 +-
 audio/musicpd/distinfo                                                 |  12 +-
 audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx |  46 ----------
 audio/musicpd/patches/patch-src_time_ISO8601.cxx                       |  21 ----
 4 files changed, 7 insertions(+), 77 deletions(-)

diffs (107 lines):

diff -r b8a98cb45e60 -r 9d65c1adb03a audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Fri Mar 20 09:32:26 2020 +0000
+++ b/audio/musicpd/Makefile    Fri Mar 20 10:23:03 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.210 2020/03/10 22:09:23 wiz Exp $
+# $NetBSD: Makefile,v 1.211 2020/03/20 10:23:03 nia Exp $
 
-DISTNAME=      mpd-0.21.20
+DISTNAME=      mpd-0.21.21
 PKGNAME=       ${DISTNAME:S/mpd/musicpd/}
-PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  https://www.musicpd.org/download/mpd/0.21/
 EXTRACT_SUFX=  .tar.xz
diff -r b8a98cb45e60 -r 9d65c1adb03a audio/musicpd/distinfo
--- a/audio/musicpd/distinfo    Fri Mar 20 09:32:26 2020 +0000
+++ b/audio/musicpd/distinfo    Fri Mar 20 10:23:03 2020 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.110 2020/02/29 08:58:32 wiz Exp $
+$NetBSD: distinfo,v 1.111 2020/03/20 10:23:03 nia Exp $
 
-SHA1 (mpd-0.21.20.tar.xz) = eefac56f77a8ef77b1ae5de9083f36716de85c71
-RMD160 (mpd-0.21.20.tar.xz) = 68bf5287b11add6500ca3e5a6c7eb438df1cf5b9
-SHA512 (mpd-0.21.20.tar.xz) = 9dd49190ba4c85014d24e88cdb02a4649e8fb687a49fc9ea019f23725eda483980008e9abebf0ad3960bd310b693c56999699d7c7ddee3ca18e9b2aa6d5a2176
-Size (mpd-0.21.20.tar.xz) = 676396 bytes
+SHA1 (mpd-0.21.21.tar.xz) = ce861dba58a02ce3c4fd8f7b53bc75bfa6f31348
+RMD160 (mpd-0.21.21.tar.xz) = fda844dd50d3e0f9780ced0d4884472cd2f6703d
+SHA512 (mpd-0.21.21.tar.xz) = 1780a24f341dec1cbc3d9170cc2fc8249081cac8f677ff17df15fc959787cf43d30696eefba9b8a44824da14eee3d58e2ee78b34db1335c0a182b4c2a89e6b3a
+Size (mpd-0.21.21.tar.xz) = 676668 bytes
 SHA1 (patch-src_net_IPv6Address.hxx) = c9e9a5676451e6834fcef359266d37fc15f079e6
-SHA1 (patch-src_output_plugins_SolarisOutputPlugin.cxx) = 3429f5833233ade14efbc22db08faf54bb1c011a
-SHA1 (patch-src_time_ISO8601.cxx) = df76ae9933273fddb509030ee10e6c39b89e2061
diff -r b8a98cb45e60 -r 9d65c1adb03a audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx
--- a/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx    Fri Mar 20 09:32:26 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-$NetBSD: patch-src_output_plugins_SolarisOutputPlugin.cxx,v 1.2 2020/02/29 08:58:33 wiz Exp $
-
-Allow this plugin to be also used on NetBSD.
-https://github.com/MusicPlayerDaemon/MPD/pull/775
-
---- src/output/plugins/SolarisOutputPlugin.cxx.orig    2019-10-16 09:58:36.000000000 +0000
-+++ src/output/plugins/SolarisOutputPlugin.cxx
-@@ -22,22 +22,23 @@
- #include "system/FileDescriptor.hxx"
- #include "system/Error.hxx"
- 
-+#include <sys/ioctl.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <errno.h>
- 
--#ifdef __sun
-+#if defined(__sun)
- #include <sys/audio.h>
- #include <sys/stropts.h>
-+#elif defined(__NetBSD__)
-+#include <sys/audioio.h>
- #else
- 
- /* some fake declarations that allow build this plugin on systems
-    other than Solaris, just to see if it compiles */
- 
--#include <sys/ioctl.h>
--
- #ifndef I_FLUSH
- #define I_FLUSH 0
- #endif
-@@ -147,7 +148,11 @@ SolarisOutput::Play(const void *chunk, s
- void
- SolarisOutput::Cancel() noexcept
- {
-+#if defined(AUDIO_FLUSH)
-+      ioctl(fd.Get(), AUDIO_FLUSH);
-+#elif defined(I_FLUSH)
-       ioctl(fd.Get(), I_FLUSH);
-+#endif
- }
- 
- const struct AudioOutputPlugin solaris_output_plugin = {
diff -r b8a98cb45e60 -r 9d65c1adb03a audio/musicpd/patches/patch-src_time_ISO8601.cxx
--- a/audio/musicpd/patches/patch-src_time_ISO8601.cxx  Fri Mar 20 09:32:26 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-src_time_ISO8601.cxx,v 1.1 2020/02/29 08:58:33 wiz Exp $
-
-../src/time/ISO8601.cxx:67:24: error: use of undeclared identifier 'strtoul'
-        unsigned long value = strtoul(s, &endptr, 10);
-                              ^
-../src/time/ISO8601.cxx:77:14: error: use of undeclared identifier 'strtoul'
-                        minutes = strtoul(s, &endptr, 10);
-                                  ^
-
-https://github.com/MusicPlayerDaemon/MPD/pull/775
-
---- src/time/ISO8601.cxx.orig  2020-02-16 19:43:35.000000000 +0000
-+++ src/time/ISO8601.cxx
-@@ -37,6 +37,7 @@
- #include <stdexcept>
- 
- #include <assert.h>
-+#include <stdlib.h>
- 
- StringBuffer<64>
- FormatISO8601(const struct tm &tm) noexcept



Home | Main Index | Thread Index | Old Index