boot/syslinux: fix build with glibc 2.28+
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Wed, 14 Nov 2018 20:54:33 +0000 (21:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 19 Nov 2018 21:37:15 +0000 (22:37 +0100)
commitc91e7da5cf6ecf4690148751f72a4185da6243a0
treec0a0e588555d44f113bd433e59a8cfc4c16de270
parent75c81a12f68f943af2966e737f882b3f4fc7a909
boot/syslinux: fix build with glibc 2.28+

When building with glibc 2.28+, the "major", "minor" and "makedev"
functions are defined in "sys/sysmacros.h". This commit backports
upstream commit 1a74985b2a404639b08882c57f3147229605dfd5 to fix the
build with glibc 2.28.

Link: https://www.syslinux.org/wiki/index.php?title=Building
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch [new file with mode: 0644]