CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: updated source
[crossrootfs.git] / e2fsprogs / e2fsprogs-1.42.10-config.patch
1 2014-06-30 18:40:02.000000000 +0200
2 @@ -0,0 +1,19 @@
3 Subject: need to add includes to BUILD_CFLAGS for cross-building
4 Author: Helmut Grohne <hel...@subdivi.de>
5 Last-Modified: 2014-06-30
6
7 Otherwise compiling util/subst.c fails because config.h cannot be found.
8
9 Index: e2fsprogs-1.42.10/configure
10 ===================================================================
11 --- e2fsprogs-1.42.10.orig/configure 2014-05-15 19:04:08.000000000 +0200
12 +++ e2fsprogs-1.42.10/configure 2014-06-30 18:36:53.451482000 +0200
13 @@ -11479,7 +11479,7 @@
14 BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
15 BUILD_LDFLAGS="$LDFLAGS"
16 else
17 - BUILD_CFLAGS=
18 + BUILD_CFLAGS="$INCLUDES"
19 BUILD_LDFLAGS=
20 fi