e2fsprogs: fix build problem with very old libmagic
authorHauke Mehrtens <hauke.mehrtens@intel.com>
Fri, 24 Jun 2016 15:37:40 +0000 (17:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 30 Jun 2016 18:51:53 +0000 (20:51 +0200)
commitd635ef50c5cb9aaca718b6418feea378b450c3a8
treebfa10c1d5d4e7e733ca5f110bb10a69e2ce5c9ed
parentffcae8b494df37f887ad96eaaccdb93c1a401787
e2fsprogs: fix build problem with very old libmagic

The libmagic shipped with RedHat 5 does not define
MAGIC_NO_CHECK_ELF and MAGIC_NO_CHECK_COMPRESS. e2fsprogs should
check for that, otherwise the build will fail.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
tools/e2fsprogs/patches/010-old-libmagic.patch [new file with mode: 0644]