diff options
author | Giulio Benetti <giulio.benetti@micronovasrl.com> | 2018-09-10 16:04:20 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-09-10 17:41:37 +0200 |
commit | b1bc14626e01bbf28b156798f70bdf786c668846 (patch) | |
tree | 3df4eeb309f699a1f471b5e2554547aacd42efcf /package/python-numpy | |
parent | 8046df8243255baf900d0398e404742ebc390f4f (diff) | |
download | buildroot-b1bc14626e01bbf28b156798f70bdf786c668846.tar.gz buildroot-b1bc14626e01bbf28b156798f70bdf786c668846.zip |
parted: fix minor()/major() build failure due to glibc 2.28
glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used.
This commit adds a patch to directly include <sys/sysmacros.h> into
libparted/arch/linux.c files where minor() and major() macros are used.
Patch has been taken from parted upstream commit:
http://git.savannah.gnu.org/cgit/parted.git/commit/?id=ba5e0451b51c983e40afd123b6e0d3eddb55e610
Fixes:
http://autobuild.buildroot.net/results/323/3230abaf78b8df8d23310b37b4099050fdc76eb0//
http://autobuild.buildroot.net/results/d3a/d3a3cd9963e5a2be1cec8fb553f5b20fc2e3c85c//
http://autobuild.buildroot.net/results/ecf/ecfb634b5e6dac2c88b399fc1f1adc68ca42504c//
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-numpy')
0 files changed, 0 insertions, 0 deletions