shared-macros.mk: drop support for 32 bit mysql
[oi-userland.git] / components / sysutils / coreutils / patches / 05-stdbuf.c.patch
blobfcdb38fd651d35e8873892fba4d01b8e5addb324
1 Change needed to get stdbuf to successfully preload libstdbuf.so
2 for both 32-bit and 64-bit applications.
4 Since we don't link against libstdbuf.so, we need to LD_PRELOAD it.
5 libstdbuf.so lives in /usr/lib and /usr/lib/64, so we just use a
6 search path value of "" and that equates to LD_PRELOAD=libstdbuf.so,
7 and ld.so.1 finds the right one associated with the process class.
8 ie. we don't use full path names for the preload names.
10 This change has been passed upstream, but the GNU coreutils maintainer
11 turned it into a comment explaining why it's not included by default.
13 --- coreutils-9.5/src/stdbuf.c.orig
14 +++ coreutils-9.5/src/stdbuf.c
15 @@ -217,6 +217,7 @@
16 char const *const search_path[] = {
17 program_path,
18 PKGLIBEXECDIR,
19 + "", /* System default */
20 nullptr