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:           Tue Jan 15 10:04:53 UTC 2019

Modified Files:
        pkgsrc/audio/musicpd: distinfo
Added Files:
        pkgsrc/audio/musicpd/patches: patch-src_db_VHelper.cxx
            patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx

Log Message:
musicpd: add two patches to fix build with clang

include upstream bug report URL


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 pkgsrc/audio/musicpd/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/musicpd/patches/patch-src_db_VHelper.cxx \
    pkgsrc/audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.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.93 pkgsrc/audio/musicpd/distinfo:1.94
--- pkgsrc/audio/musicpd/distinfo:1.93  Sat Jan  5 12:43:46 2019
+++ pkgsrc/audio/musicpd/distinfo       Tue Jan 15 10:04:53 2019
@@ -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

Added files:

Index: pkgsrc/audio/musicpd/patches/patch-src_db_VHelper.cxx
diff -u /dev/null pkgsrc/audio/musicpd/patches/patch-src_db_VHelper.cxx:1.1
--- /dev/null   Tue Jan 15 10:04:53 2019
+++ pkgsrc/audio/musicpd/patches/patch-src_db_VHelper.cxx       Tue Jan 15 10:04:53 2019
@@ -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,
Index: pkgsrc/audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx
diff -u /dev/null pkgsrc/audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx:1.1
--- /dev/null   Tue Jan 15 10:04:53 2019
+++ pkgsrc/audio/musicpd/patches/patch-src_decoder_plugins_AudiofileDecoderPlugin.cxx   Tue Jan 15 10:04:53 2019
@@ -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