diff mbox

package/mpd: fetch upstream patch to fix GCC 6 issue

Message ID 20160609094108.9446-1-joerg.krause@embedded.rocks
State Accepted
Headers show

Commit Message

Jörg Krause June 9, 2016, 9:41 a.m. UTC
Fetch a patch from upstream to fix a build issue with GCC 6:

'''
In file included from /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/bits/stl_algo.h:59:0,
                 from /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/algorithm:62,
                 from ./src/queue/IdTable.hxx:25,
                 from ./src/queue/Queue.hxx:24,
                 from src/queue/Playlist.hxx:23,
                 from src/Partition.hxx:23,
                 from src/Instance.cxx:22:
/home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
'''

Bug report: https://bugs.musicpd.org/view.php?id=4524
Fetch from: aa5d05eaa4d482aa8f8df954335d0aba151eeff9

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 package/mpd/mpd.hash | 1 +
 package/mpd/mpd.mk   | 3 +++
 2 files changed, 4 insertions(+)

Comments

Thomas Petazzoni June 9, 2016, 8 p.m. UTC | #1
Hello,

On Thu,  9 Jun 2016 11:41:08 +0200, Jörg Krause wrote:
> Fetch a patch from upstream to fix a build issue with GCC 6:
> 
> '''
> In file included from /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/bits/stl_algo.h:59:0,
>                  from /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/algorithm:62,
>                  from ./src/queue/IdTable.hxx:25,
>                  from ./src/queue/Queue.hxx:24,
>                  from src/queue/Playlist.hxx:23,
>                  from src/Partition.hxx:23,
>                  from src/Instance.cxx:22:
> /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/include/c++/6.1.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
> '''
> 
> Bug report: https://bugs.musicpd.org/view.php?id=4524
> Fetch from: aa5d05eaa4d482aa8f8df954335d0aba151eeff9
> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
> ---
>  package/mpd/mpd.hash | 1 +
>  package/mpd/mpd.mk   | 3 +++
>  2 files changed, 4 insertions(+)

Applied to master, thanks.

Thomas
diff mbox

Patch

diff --git a/package/mpd/mpd.hash b/package/mpd/mpd.hash
index 2d35aae..f817a3a 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 6247d15..594d06b 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.