pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/musicpd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Feb 29 08:58:33 UTC 2020

Modified Files:
        pkgsrc/audio/musicpd: distinfo
        pkgsrc/audio/musicpd/patches:
            patch-src_output_plugins_SolarisOutputPlugin.cxx
Added Files:
        pkgsrc/audio/musicpd/patches: patch-src_time_ISO8601.cxx

Log Message:
musicpd: fix build with clang 9.0.0

Sent this and another patch upstream, so add URL to second patch.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 pkgsrc/audio/musicpd/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/musicpd/patches/patch-src_time_ISO8601.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/musicpd/distinfo
diff -u pkgsrc/audio/musicpd/distinfo:1.109 pkgsrc/audio/musicpd/distinfo:1.110
--- pkgsrc/audio/musicpd/distinfo:1.109 Tue Feb 18 13:21:38 2020
+++ pkgsrc/audio/musicpd/distinfo       Sat Feb 29 08:58:32 2020
@@ -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

Index: pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx
diff -u pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx:1.1 pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx:1.2
--- pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx:1.1   Wed Dec  4 11:00:23 2019
+++ pkgsrc/audio/musicpd/patches/patch-src_output_plugins_SolarisOutputPlugin.cxx       Sat Feb 29 08:58:33 2020
@@ -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

Added files:

Index: pkgsrc/audio/musicpd/patches/patch-src_time_ISO8601.cxx
diff -u /dev/null pkgsrc/audio/musicpd/patches/patch-src_time_ISO8601.cxx:1.1
--- /dev/null   Sat Feb 29 08:58:33 2020
+++ pkgsrc/audio/musicpd/patches/patch-src_time_ISO8601.cxx     Sat Feb 29 08:58:33 2020
@@ -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