diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-07 21:53:07 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-07 22:02:47 +0100 |
commit | cb444002409b677de22e54bf97030ef9121bd188 (patch) | |
tree | d0b3546fe4f7563ce5e3dbe01d06b0eeffd6b414 /package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch | |
parent | 834893a965a993e8a73e30b448426f626419f3c8 (diff) | |
download | buildroot-cb444002409b677de22e54bf97030ef9121bd188.tar.gz buildroot-cb444002409b677de22e54bf97030ef9121bd188.zip |
mpd: use upstream patches
This commit replaces 0002-musl-gcc5-fixes.patch by a backport of 3
upstream commits. It also renames
0001-thread-Name-include-stdio.h-for-prctl-as-well.patch to have the
sequence number 0004, so that it applies after the backported upstream
patches (since this patch is not upstream yet).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch')
-rw-r--r-- | package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch b/package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch new file mode 100644 index 0000000000..1943623edb --- /dev/null +++ b/package/mpd/0004-thread-Name-include-stdio.h-for-prctl-as-well.patch @@ -0,0 +1,28 @@ +From a0a9fed68126eb24e04af924c0d46351ff5eeb0f Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Mon, 26 Jan 2015 09:55:04 -0300 +Subject: [PATCH] thread/Name: include stdio.h for prctl as well + +We're still using snprintf so we need it, otherwise it leads to build +failure. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + src/thread/Name.hxx | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/thread/Name.hxx b/src/thread/Name.hxx +index a99208d..8f9d7d3 100644 +--- a/src/thread/Name.hxx ++++ b/src/thread/Name.hxx +@@ -25,6 +25,7 @@ + # include <pthread.h> + #elif defined(HAVE_PRCTL) + # include <sys/prctl.h> ++# include <stdio.h> + # ifdef PR_SET_NAME + # define HAVE_THREAD_NAME + # endif +-- +2.6.4 + |