diff options
author | Giulio Benetti <giulio.benetti@micronovasrl.com> | 2018-08-28 15:31:31 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-28 22:43:26 +0200 |
commit | 4ffde065d2829d90cddc70f7c2e8f5775e59cbe9 (patch) | |
tree | d6dfa1f452b3b07f161a4e68e700fac6f822c876 /package/python-mimeparse/python-mimeparse.hash | |
parent | 91d65f300016517eee95cc7f0bdf719a124a2af5 (diff) | |
download | buildroot-4ffde065d2829d90cddc70f7c2e8f5775e59cbe9.tar.gz buildroot-4ffde065d2829d90cddc70f7c2e8f5775e59cbe9.zip |
atop: 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. See glibc upstream commit:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e16deca62e16f645213dffd4ecd1153c37765f17
This commit adds a patch to directly include <sys/sysmacros.h> into
photosyst.c where minor() and major() macros are used.
Patch has been taken from atop upstream pull request:
https://github.com/Atoptool/atop/pull/35
Fixes:
http://autobuild.buildroot.net/results/3fc0f18ed94697c404e7ff3751781789170c4fe5/
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: improve commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-mimeparse/python-mimeparse.hash')
0 files changed, 0 insertions, 0 deletions