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/0002-musl-gcc5-fixes.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/0002-musl-gcc5-fixes.patch')
-rw-r--r-- | package/mpd/0002-musl-gcc5-fixes.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/package/mpd/0002-musl-gcc5-fixes.patch b/package/mpd/0002-musl-gcc5-fixes.patch deleted file mode 100644 index a4c65cceec..0000000000 --- a/package/mpd/0002-musl-gcc5-fixes.patch +++ /dev/null @@ -1,56 +0,0 @@ -musl gcc5 fixes - -Fetch from: -http://git.alpinelinux.org/cgit/aports/plain/main/mpd/musl-gcc5-fixes.patch - -Problem has been reported upstream and closed with WONTFIX: -http://bugs.musicpd.org/view.php?id=4387 -http://bugs.musicpd.org/view.php?id=4110 - -however... - -POSIX does not permit using PTHREAD_COND_INITIALIZER except for static -initialization, and certainly does not permit using it as a value - -also POSIX does not specify the type of the object (it's opaque) so if -there are any types for which their code would be invalid C++, then their -code is invalid - -also, volatile in the type is necessary. without that, LTO can break the code. - -Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> - ---- ./src/notify.hxx.orig -+++ ./src/notify.hxx -@@ -28,7 +28,7 @@ - Cond cond; - bool pending; - --#if !defined(WIN32) && !defined(__NetBSD__) && !defined(__BIONIC__) -+#if defined(__GLIBC__) - constexpr - #endif - notify():pending(false) {} ---- ./src/thread/PosixCond.hxx.orig -+++ ./src/thread/PosixCond.hxx -@@ -41,7 +41,7 @@ - pthread_cond_t cond; - - public: --#if defined(__NetBSD__) || defined(__BIONIC__) -+#if !defined(__GLIBC__) - /* NetBSD's PTHREAD_COND_INITIALIZER is not compatible with - "constexpr" */ - PosixCond() { ---- ./src/thread/PosixMutex.hxx.orig -+++ ./src/thread/PosixMutex.hxx -@@ -41,7 +41,7 @@ - pthread_mutex_t mutex; - - public: --#if defined(__NetBSD__) || defined(__BIONIC__) -+#if !defined(__GLIBC__) - /* NetBSD's PTHREAD_MUTEX_INITIALIZER is not compatible with - "constexpr" */ - PosixMutex() { - |