summaryrefslogtreecommitdiffstats
path: root/package/libkcapi/0004-internal.h-make-inline-functions-static.patch
diff options
context:
space:
mode:
authorStefan Becker <chemobejk@gmail.com>2018-05-02 12:05:08 +0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-03 21:56:20 +0200
commit3c514c2dc5186c4357b2c0fc2e1c4b47e0f555c7 (patch)
tree8ab30f26e3a604e45a9b6b1ae39243597e3a0f65 /package/libkcapi/0004-internal.h-make-inline-functions-static.patch
parent45719594d08024df97db55333f8ab3ba2b4fc23e (diff)
downloadbuildroot-3c514c2dc5186c4357b2c0fc2e1c4b47e0f555c7.tar.gz
buildroot-3c514c2dc5186c4357b2c0fc2e1c4b47e0f555c7.zip
host-mkpasswd: fix crash on Fedora 28 build host
crypt() is an optional glibc feature. Some distros, like Fedora 28, are phasing it out to be replaced with libxcrypt [1]. Unfortunately this change is only ABI compatible, not source code compatible, i.e. the code will compile with warnings about undefined crypt(), but the resulting binary will crash. Follow the guidance in the Fedora bug and include crypt.h when _XOPEN_CRYPT is not defined. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1566464 Signed-off-by: Stefan Becker <chemobejk@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libkcapi/0004-internal.h-make-inline-functions-static.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud