e2fsprogs: add patch for recent glibc
authorArnout Vandecappelle <arnout@mind.be>
Sat, 12 Aug 2017 16:22:55 +0000 (18:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Aug 2017 21:02:45 +0000 (23:02 +0200)
commited295ce49b9284eef30dd81f1398b6357a7ee428
tree70436d366598e739a172910a2821e4478c94602b
parent0b9c2095ad3443ed17299fb0f9fe13fde76328d8
e2fsprogs: add patch for recent glibc

Recent glibc have deprecated the implicit include of sys/sysmacros.h
from sys/types.h. That means that the macros major and minor are no
longer defined unless this header is included.

This problem was observed for host-e2fsprogs when building on a host
with recent glibc.

Add an upstream patch that includes sys/sysmacros.h when needed.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Dagg Stompler <daggs@gmx.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Tested-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/e2fsprogs/0002-include-sys-sysmacros.h-as-needed.patch [new file with mode: 0644]