Browse Source

package/mpd: bump version to 0.23.5

Switched project URL to HTTPS as HTTP redirects to it.

Added upstream patch to fix build error with uClibc:
https://github.com/MusicPlayerDaemon/MPD/commit/3856224df9160c201bc6d224aa927e7c358e3269
https://github.com/MusicPlayerDaemon/MPD/pull/1382

Changelog:
https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.23.5/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Peter: also update MPD_SITE]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls 3 years ago
parent
commit
cd84e1bcf9

+ 25 - 0
package/mpd/0002-lib-alsa-Error-add-missing-include.patch

@@ -0,0 +1,25 @@
+From 3856224df9160c201bc6d224aa927e7c358e3269 Mon Sep 17 00:00:00 2001
+From: aeolio <git@aeolio.de>
+Date: Tue, 14 Dec 2021 09:01:23 +0100
+Subject: [PATCH] lib/alsa/Error: add missing #include
+
+Downloaded from upstream commit:
+https://github.com/MusicPlayerDaemon/MPD/commit/3856224df9160c201bc6d224aa927e7c358e3269
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ src/lib/alsa/Error.cxx | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/alsa/Error.cxx b/src/lib/alsa/Error.cxx
+index cd351f37d1..8ceb4417ca 100644
+--- a/src/lib/alsa/Error.cxx
++++ b/src/lib/alsa/Error.cxx
+@@ -29,6 +29,7 @@
+ 
+ #include "Error.hxx"
+ 
++#include <stdarg.h>
+ #include <alsa/error.h>
+ 
+ namespace Alsa {

+ 1 - 1
package/mpd/Config.in

@@ -16,7 +16,7 @@ menuconfig BR2_PACKAGE_MPD
 	  it can play a variety of sound files while being
 	  controlled by its network protocol.
 
-	  http://www.musicpd.org
+	  https://www.musicpd.org
 
 if BR2_PACKAGE_MPD
 

+ 1 - 1
package/mpd/mpd.hash

@@ -1,3 +1,3 @@
 # Locally calculated after checking pgp signature
-sha256  b300625701005c6b14649f11dac118d05540529a5385d05b7c3062c0ce08f399  mpd-0.23.3.tar.xz
+sha256  f22c2c25093a05f4566f9cd7207cfbcd8405af67ed29a989bcf8905f80b7a299  mpd-0.23.5.tar.xz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING

+ 2 - 2
package/mpd/mpd.mk

@@ -5,9 +5,9 @@
 ################################################################################
 
 MPD_VERSION_MAJOR = 0.23
-MPD_VERSION = $(MPD_VERSION_MAJOR).3
+MPD_VERSION = $(MPD_VERSION_MAJOR).5
 MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz
-MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
+MPD_SITE = https://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
 MPD_DEPENDENCIES = host-pkgconf boost fmt
 MPD_LICENSE = GPL-2.0+
 MPD_LICENSE_FILES = COPYING