mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
util-linux-native: fix qsort_r for CentOS 5.10
The qsort_r() was added to glibc in version 2.8, so there is no qsort_r() on the host like CentOS 5.x, use qsort() to fix it since they are nearly identical. (From OE-Core rev: cda5310e32ce05bc54602d4c18ee2d28a53be57f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cdf0d9715e
commit
8add7ae494
@@ -4,7 +4,9 @@ require util-linux.inc
|
||||
# To support older hosts, we need to patch and/or revert
|
||||
# some upstream changes. Only do this for native packages.
|
||||
OLDHOST = ""
|
||||
OLDHOST_class-native = "file://util-linux-native.patch"
|
||||
OLDHOST_class-native = "file://util-linux-native.patch \
|
||||
file://util-linux-native-qsort.patch \
|
||||
"
|
||||
|
||||
SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
|
||||
file://util-linux-ng-2.16-mount_lock_path.patch \
|
||||
|
||||
Reference in New Issue
Block a user