aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/mpd/mpd.hash1
-rw-r--r--package/mpd/mpd.mk3
2 files changed, 4 insertions, 0 deletions
diff --git a/package/mpd/mpd.hash b/package/mpd/mpd.hash
index 2d35aaeb62..f817a3a0d1 100644
--- a/package/mpd/mpd.hash
+++ b/package/mpd/mpd.hash
@@ -1,2 +1,3 @@
# Locally calculated after checking pgp signature
sha256 0cb9a223894b038ce966ce6d651d9b3ea3bdc7d7b9bec8d1e9e7e091cbc29b8b mpd-0.19.15.tar.xz
+sha256 cb9a31889a3d01f373ad154dc4c0d13ca866d69bc02b3acd9f18727a756e78cb aa5d05eaa4d482aa8f8df954335d0aba151eeff9.patch
diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 6247d15d39..9b054ffb6f 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -13,6 +13,9 @@ MPD_LICENSE = GPLv2+
MPD_LICENSE_FILES = COPYING
MPD_AUTORECONF = YES
+# Fix GCC 6 issue (https://bugs.musicpd.org/view.php?id=4524)
+MPD_PATCH = https://github.com/MaxKellermann/MPD/commit/aa5d05eaa4d482aa8f8df954335d0aba151eeff9.patch
+
# Some options need an explicit --disable or --enable
# Zeroconf support depends on libdns_sd from avahi.