From 440086e6ed32e3bd814f80dc4f6c82deea2c93d9 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 23 May 2017 01:21:50 +0200 Subject: [PATCH] mpd: Update from 0.20.6 to 0.20.8 --- packages/mpd/build.sh | 4 ++-- packages/mpd/src-Main.cxx.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 packages/mpd/src-Main.cxx.patch diff --git a/packages/mpd/build.sh b/packages/mpd/build.sh index 6c50cbcba..362b9467a 100644 --- a/packages/mpd/build.sh +++ b/packages/mpd/build.sh @@ -1,9 +1,9 @@ TERMUX_PKG_HOMEPAGE="https://www.musicpd.org" TERMUX_PKG_DESCRIPTION="music player daemon" -TERMUX_PKG_VERSION=0.20.6 +TERMUX_PKG_VERSION=0.20.8 TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/MPD/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_FOLDERNAME=MPD-$TERMUX_PKG_VERSION -TERMUX_PKG_SHA256=42729305dbafb912bb9197698822b112aa78ab691f87433e37c511ce91ce0a0d +TERMUX_PKG_SHA256=b3ced73b44cf432ac8906deeb803e69235c1286b34c6986029ecf4fe8e351128 TERMUX_PKG_DEPENDS="libcurl, libid3tag, libopus, libevent, fftw, libpulseaudio, libmpdclient, boost, openal-soft, libvorbis, libsqlite, ffmpeg" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-alsa diff --git a/packages/mpd/src-Main.cxx.patch b/packages/mpd/src-Main.cxx.patch new file mode 100644 index 000000000..8e44faa63 --- /dev/null +++ b/packages/mpd/src-Main.cxx.patch @@ -0,0 +1,12 @@ +diff -u -r ../MPD-0.20.8/src/Main.cxx ./src/Main.cxx +--- ../MPD-0.20.8/src/Main.cxx 2017-05-19 20:10:22.000000000 +0200 ++++ ./src/Main.cxx 2017-05-23 01:19:38.629090778 +0200 +@@ -123,7 +123,7 @@ + static constexpr size_t DEFAULT_BUFFER_SIZE = 4 * MEGABYTE; + + static +-#if GCC_OLDER_THAN(5,0) ++#if GCC_OLDER_THAN(5,0) || defined(__ANDROID__) + /* gcc 4.x has no "constexpr" for std::max() */ + const + #else