Commit fa7a285a authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed support of large files for e2image

parent feaa135a
all: all:
tar xf e2fsprogs-1.45.2.tar.gz tar xf e2fsprogs-1.45.2.tar.gz
patch -Np1 -d e2fsprogs-1.45.2 < e2fsprogs-1.45.2-largefile.patch
mkdir e2fsprogs-1.45.2/build mkdir e2fsprogs-1.45.2/build
cd e2fsprogs-1.45.2/build && ../configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin --with-root-prefix="" --enable-elf-shlibs --disable-libblkid --disable-libuuid --disable-uuidd --disable-fsck cd e2fsprogs-1.45.2/build && ../configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin --with-root-prefix="" --enable-elf-shlibs --disable-libblkid --disable-libuuid --disable-uuidd --disable-fsck
$(MAKE) -C e2fsprogs-1.45.2/build $(MAKE) -C e2fsprogs-1.45.2/build
......
diff -uNr e2fsprogs-1.45.2/misc/e2image.c e2fsprogs-1.45.2-largefile/misc/e2image.c
--- e2fsprogs-1.45.2/misc/e2image.c 2019-05-28 02:21:49.000000000 +0000
+++ e2fsprogs-1.45.2-largefile/misc/e2image.c 2020-12-04 19:46:10.100005101 +0000
@@ -10,6 +10,7 @@
* %End-Header%
*/
+#define _FILE_OFFSET_BITS 64
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment