mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[OpenWrt-Devel] update e2fsprogs
Update e2fsprogs to the last upstream version 1.42. blkid works fine without 100_add_missing_libpthread_for_blkid.patch. Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30535 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
15
package/e2fsprogs/patches/000-uclibc_compile_fix.patch
Normal file
15
package/e2fsprogs/patches/000-uclibc_compile_fix.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Without this patch compiling e2fsprogs 1.42 fails in the case the linux
|
||||
kernel headers provide linux/falloc.h but the libc is not implementing
|
||||
fallocate() as it is still the case with latest versions of uClibc.
|
||||
|
||||
--- a/lib/ext2fs/unix_io.c
|
||||
+++ b/lib/ext2fs/unix_io.c
|
||||
@@ -895,7 +895,7 @@ static errcode_t unix_discard(io_channel
|
||||
goto unimplemented;
|
||||
#endif
|
||||
} else {
|
||||
-#ifdef FALLOC_FL_PUNCH_HOLE
|
||||
+#if defined HAVE_FALLOCATE && defined FALLOC_FL_PUNCH_HOLE
|
||||
/*
|
||||
* If we are not on block device, try to use punch hole
|
||||
* to reclaim free space.
|
||||
Reference in New Issue
Block a user