diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-10-24 19:09:35 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-25 01:09:33 +0200 |
commit | d9d25fdb30e002d7e22fddb87d0a6386f963bfc3 (patch) | |
tree | fd282a00d0a4a2d978ff78dad3186dc73510ae91 /package/coreutils/coreutils-02-fix-timer-time-m4.patch | |
parent | a9ef96aefa11e97640e7d4d285ab4612a713b65a (diff) | |
download | buildroot-d9d25fdb30e002d7e22fddb87d0a6386f963bfc3.tar.gz buildroot-d9d25fdb30e002d7e22fddb87d0a6386f963bfc3.zip |
coreutils: bump to version 8.23
Add hash file. patches 01 & 02 are now upstream so remove them.
Patch 01 isn't required any more (no posix_spawn usage).
Patch 02 is upstream.
Patch 03 retooled for 8.23 and renamed to 01.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/coreutils/coreutils-02-fix-timer-time-m4.patch')
-rw-r--r-- | package/coreutils/coreutils-02-fix-timer-time-m4.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/package/coreutils/coreutils-02-fix-timer-time-m4.patch b/package/coreutils/coreutils-02-fix-timer-time-m4.patch deleted file mode 100644 index 3b4d81b0f1..0000000000 --- a/package/coreutils/coreutils-02-fix-timer-time-m4.patch +++ /dev/null @@ -1,36 +0,0 @@ -Fix thread detection with uClibc in timer_time.m4 - -The timer_time.m4 gl_TIMER_TIME function determines which libraries -need to be linked to get access to the timer function, generally -lrt -for Linux systems. On platforms where threads are used, librt -typically uses thread functions from libpthread. - -However, the test to determine whether the platform has thread or not -is incorrect: it assumes that if the C library is uClibc, then threads -are not available. This is actually not true: uClibc has configurable -thread support, and when thread support is available, librt calls -libpthread functions. - -This is important when static linking is used, because otherwise only --lrt is used at link time, which fails because librt calls undefined -thread functions. Both -lrt and -lpthread must be passed. - -This problem is fixed by making the uClibc thread detection a bit -smarter, thanks to the usage of the __HAS_NO_THREADS__ macro defined -in <bits/uClibc_config.h>, which itself is included by <features.h>. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/m4/timer_time.m4 -=================================================================== ---- a/m4/timer_time.m4 -+++ b/m4/timer_time.m4 -@@ -28,7 +28,7 @@ - #include <features.h> - #ifdef __GNU_LIBRARY__ - #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || (__GLIBC__ > 2)) \ -- && !defined __UCLIBC__ -+ && !(__UCLIBC__ && __HAS_NO_THREADS__) - Thread emulation available - #endif - #endif |