pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicpd musicpd: add two patches to fix build wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec84aa93af0e
branches: trunk
changeset: 327988:ec84aa93af0e
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jan 15 10:04:53 2019 +0000
description:
musicpd: add two patches to fix build with clang
include upstream bug report URL
diffstat:
audio/musicpd/distinfo | 4 ++-
audio/musicpd/patches/patch-src_db_VHelper.cxx | 15 ++++++++++
audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx | 15 ++++++++++
3 files changed, 33 insertions(+), 1 deletions(-)
diffs (52 lines):
diff -r c7b33a2abbe6 -r ec84aa93af0e audio/musicpd/distinfo
--- a/audio/musicpd/distinfo Tue Jan 15 09:49:40 2019 +0000
+++ b/audio/musicpd/distinfo Tue Jan 15 10:04:53 2019 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.93 2019/01/05 12:43:46 triaxx Exp $
+$NetBSD: distinfo,v 1.94 2019/01/15 10:04:53 wiz Exp $
SHA1 (mpd-0.21.4.tar.xz) = ae5370bc90209e0f5d955094a83cee37d9ca15d9
RMD160 (mpd-0.21.4.tar.xz) = 0af583f0f79d70d7eb39bf61baebae8120a173c2
SHA512 (mpd-0.21.4.tar.xz) = 454fde206f98f89a58ac773037963ac895ee6ce3e7d1032c49b980a3bfbbb69782a62900a5c09e4b39f24b2d1bcd380d7b520935563dd3b8d02f701389389ca7
Size (mpd-0.21.4.tar.xz) = 663648 bytes
+SHA1 (patch-src_db_VHelper.cxx) = eeb94684a0a7d6dabfdd753964095524f61bd442
+SHA1 (patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx) = 3151ae41740a6ed342e108b79a2b97c995aac4f3
SHA1 (patch-src_net_IPv6Address.hxx) = c9e9a5676451e6834fcef359266d37fc15f079e6
diff -r c7b33a2abbe6 -r ec84aa93af0e audio/musicpd/patches/patch-src_db_VHelper.cxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-src_db_VHelper.cxx Tue Jan 15 10:04:53 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_db_VHelper.cxx,v 1.1 2019/01/15 10:04:53 wiz Exp $
+
+../src/db/VHelper.cxx:61:17: error: use of undeclared identifier 'strtol'
+https://github.com/MusicPlayerDaemon/MPD/issues/456
+
+--- src/db/VHelper.cxx.orig 2019-01-04 18:22:21.000000000 +0000
++++ src/db/VHelper.cxx
+@@ -23,6 +23,7 @@
+ #include "song/Filter.hxx"
+
+ #include <assert.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ DatabaseVisitorHelper::DatabaseVisitorHelper(const DatabaseSelection &_selection,
diff -r c7b33a2abbe6 -r ec84aa93af0e audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx Tue Jan 15 10:04:53 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx,v 1.1 2019/01/15 10:04:53 wiz Exp $
+
+../src/decoder/plugins/AudiofileDecoderPlugin.cxx:131:39: error: use of undeclared identifier 'malloc'; did you mean 'tzalloc'?
+https://github.com/MusicPlayerDaemon/MPD/issues/456
+
+--- src/decoder/plugins/AudiofileDecoderPlugin.cxx.orig 2019-01-04 18:22:21.000000000 +0000
++++ src/decoder/plugins/AudiofileDecoderPlugin.cxx
+@@ -33,6 +33,7 @@
+
+ #include <assert.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ static constexpr Domain audiofile_domain("audiofile");
+
Home |
Main Index |
Thread Index |
Old Index