-rw-r--r-- root/root usr/man/man3/com_err.3.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/e2fsck.conf.5.gz
+lrwxrwxrwx root/root usr/man/man5/ext2.5.gz -> ext4.5.gz
+lrwxrwxrwx root/root usr/man/man5/ext3.5.gz -> ext4.5.gz
+-rw-r--r-- root/root usr/man/man5/ext4.5.gz
-rw-r--r-- root/root usr/man/man5/mke2fs.conf.5.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/badblocks.8.gz
-aca828bb4bcca20991a442deb950b670 e2fsprogs-1.42.5.tar.gz
+7756d9c1b823e4b1f9344a6f59d47bd3 e2fsprogs-1.42.10-config.patch
+62bfe2fe0a194c5c37165789ac2825a8 e2fsprogs-1.42.10.tar.gz
# Depends on: util-linux
name=e2fsprogs
-version=1.42.5
-release=1
-source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz)
+version=1.42.10
+release=2
+source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz
+ $name-$version-config.patch)
build() {
cd $name-$version
-
+ patch -p1 -i $SRC/$name-$version-config.patch
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--disable-libuuid \
--disable-uuidd
- make
+ make -j1
make -j1 DESTDIR=$PKG install install-libs
# quota support is disabled by default
- rm -r $PKG/usr/include/quota
- rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
+ #rm -r $PKG/usr/include/quota
+ #rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
rm -r $PKG/usr/share/info
--- /dev/null
+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 <hel...@subdivi.de>
+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