pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: fix build with clang 9.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/f62572553fc1
branches: trunk
changeset: 412134:f62572553fc1
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Feb 29 08:58:32 2020 +0000
description:
musicpd: fix build with clang 9.0.0
Sent this and another patch upstream, so add URL to second patch.
diffstat:
audio/musicpd/distinfo | 5 +-
audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx | 3 +-
audio/musicpd/patches/patch-src_time_ISO8601.cxx | 21 ++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
diffs (52 lines):
diff -r 0e2d5d08f801 -r f62572553fc1 audio/musicpd/distinfo
--- a/audio/musicpd/distinfo Sat Feb 29 05:27:13 2020 +0000
+++ b/audio/musicpd/distinfo Sat Feb 29 08:58:32 2020 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.109 2020/02/18 13:21:38 nia Exp $
+$NetBSD: distinfo,v 1.110 2020/02/29 08:58:32 wiz 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 (patch-src_net_IPv6Address.hxx) = c9e9a5676451e6834fcef359266d37fc15f079e6
-SHA1 (patch-src_output_plugins_SolarisOutputPlugin.cxx) = 1bf5284c52446100f6c01ac94d6e82a0685ab13a
+SHA1 (patch-src_output_plugins_SolarisOutputPlugin.cxx) = 3429f5833233ade14efbc22db08faf54bb1c011a
+SHA1 (patch-src_time_ISO8601.cxx) = df76ae9933273fddb509030ee10e6c39b89e2061
diff -r 0e2d5d08f801 -r f62572553fc1 audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx
--- a/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx Sat Feb 29 05:27:13 2020 +0000
+++ b/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx Sat Feb 29 08:58:32 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_output_plugins_SolarisOutputPlugin.cxx,v 1.1 2019/12/04 11:00:23 nia Exp $
+$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
diff -r 0e2d5d08f801 -r f62572553fc1 audio/musicpd/patches/patch-src_time_ISO8601.cxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-src_time_ISO8601.cxx Sat Feb 29 08:58:32 2020 +0000
@@ -0,0 +1,21 @@
+$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