2014-06-30 18:40:02.000000000 +0200 @@ -0,0 +1,19 @@ Subject: need to add includes to BUILD_CFLAGS for cross-building Author: Helmut Grohne Last-Modified: 2014-06-30 Otherwise compiling util/subst.c fails because config.h cannot be found. Index: e2fsprogs-1.42.10/configure =================================================================== --- e2fsprogs-1.42.10.orig/configure 2014-05-15 19:04:08.000000000 +0200 +++ e2fsprogs-1.42.10/configure 2014-06-30 18:36:53.451482000 +0200 @@ -11479,7 +11479,7 @@ BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" BUILD_LDFLAGS="$LDFLAGS" else - BUILD_CFLAGS= + BUILD_CFLAGS="$INCLUDES" BUILD_LDFLAGS= fi