Browse Source

mpd: Update from 0.20.6 to 0.20.8

android-5
Fredrik Fornwall 8 years ago
parent
commit
440086e6ed
  1. 4
      packages/mpd/build.sh
  2. 12
      packages/mpd/src-Main.cxx.patch

4
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

12
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
Loading…
Cancel
Save