Browse Source

mpd: Update to 0.19.17, refresh patches

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 8 years ago
parent
commit
2a19c21422
4 changed files with 4 additions and 32 deletions
  1. +2
    -2
      sound/mpd/Makefile
  2. +0
    -28
      sound/mpd/patches/100-musl_gcc5_fixes.patch
  3. +1
    -1
      sound/mpd/patches/210-support_raw_pcm_streams.patch
  4. +1
    -1
      sound/mpd/patches/220-handle_slow_server_stream_startup.patch

+ 2
- 2
sound/mpd/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mpd
PKG_VERSION:=0.19.14
PKG_VERSION:=0.19.17
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://www.musicpd.org/download/mpd/0.19/
PKG_MD5SUM:=9f99340ec6b77bea4ba3729e3b76fd7c
PKG_MD5SUM:=47e13f3f160bf94e7a897c5a48990f3d
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=GPL-2.0


+ 0
- 28
sound/mpd/patches/100-musl_gcc5_fixes.patch View File

@ -1,28 +0,0 @@
Add a patch from the Alpine Linux project to fix a musl build issue with gcc 5:
Problem has been reported upstream and closed with WONTFIX:
http://bugs.musicpd.org/view.php?id=4387
http://bugs.musicpd.org/view.php?id=4110
however...
POSIX does not permit using PTHREAD_COND_INITIALIZER except for static
initialization, and certainly does not permit using it as a value
POSIX does not specify the type of the object (it's opaque) so if
there are any types for which their code would be invalid C++, then their
code is invalid
Volatile in the type is necessary. without that, LTO can break the code.
--- a/src/notify.hxx
+++ b/src/notify.hxx
@@ -28,7 +28,7 @@ struct notify {
Cond cond;
bool pending;
-#if !defined(WIN32) && !defined(__NetBSD__) && !defined(__BIONIC__)
+#if defined(__GLIBC__)
constexpr
#endif
notify():pending(false) {}

+ 1
- 1
sound/mpd/patches/210-support_raw_pcm_streams.patch View File

@ -1,6 +1,6 @@
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -774,6 +774,7 @@ static const char *const ffmpeg_mime_typ
@@ -777,6 +777,7 @@ static const char *const ffmpeg_mime_typ
"audio/qcelp",
"audio/vorbis",
"audio/vorbis+ogg",


+ 1
- 1
sound/mpd/patches/220-handle_slow_server_stream_startup.patch View File

@ -1,6 +1,6 @@
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -467,6 +467,13 @@ ffmpeg_probe(Decoder *decoder, InputStre
@@ -465,6 +465,13 @@ ffmpeg_probe(Decoder *decoder, InputStre
unsigned char buffer[BUFFER_SIZE];
size_t nbytes = decoder_read(decoder, is, buffer, BUFFER_SIZE);


Loading…
Cancel
Save