diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-08-05 11:48:47 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-08-07 07:43:30 +0200 |
commit | ff550dae32ea431de9d74c11f77f28c62c935204 (patch) | |
tree | 5cb3a6d3d46e64952b1e24ff76433a19cc75eaee /tools/genext2fs/patches/100-c99_scanf.patch | |
parent | 4fd7a30c707d4512914aea438b4297c7398ab426 (diff) | |
download | upstream-ff550dae32ea431de9d74c11f77f28c62c935204.tar.gz upstream-ff550dae32ea431de9d74c11f77f28c62c935204.tar.bz2 upstream-ff550dae32ea431de9d74c11f77f28c62c935204.zip |
adb: fix build breakage on recent musl
Fix build breakage as upstream has removed implicit include of
sys/sysmacros.h from sys/types.h:
remove implicit include of sys/sysmacros.h from sys/types.h
this reverts commit f552c792c7ce5a560f214e1104d93ee5b0833967, which
exposed the sysmacros.h macros (device major/minor calculations) for
BSD and GNU profiles to mimic an unintentional glibc behavior some
code depended on. glibc has deprecated and since removed them as the
resolution to bug #19239, so it makes no sense for us to keep this
behavior. affected code should all have been fixed by now, and if it's
not yet fixed it needs to be for use with modern glibc anyway.
Ref: https://git.musl-libc.org/cgit/musl/commit/include/sys/types.h?id=a31a30a0076c284133c0f4dfa32b8b37883ac930
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 79596f782e2c8daa1ebb8e480b6373c8142714c6)
Diffstat (limited to 'tools/genext2fs/patches/100-c99_scanf.patch')
0 files changed, 0 insertions, 0 deletions