From 79c806cb404c2d85aeec45b40ea6adbeae9f6346 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Thu, 29 Mar 2012 00:35:09 +0800 Subject: genext2fs: support large files and filesystems without using large amounts of memory update_to_1.95.patch was generated by making a diff bewteen the 1.4.1 release and the latest 1.9.5 version in the cvs repo: http://genext2fs.cvs.sourceforge.net/viewvc/genext2fs/genext2fs/genext2fs.c?revision=1.95 The patches 0001-0019 come from mailing list of genext2fs-devel http://sourceforge.net/mailarchive/forum.php?forum_name=genext2fs-devel&max_rows=100&style=flat&viewmonth=201106 (From OE-Core rev: 8f17e499cf91191727c8767e839738cb39c21655) Signed-off-by: Dexuan Cui Signed-off-by: Richard Purdie --- .../genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'meta/recipes-devtools/genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch') diff --git a/meta/recipes-devtools/genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch b/meta/recipes-devtools/genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch index 3fd15e058b..05b095edf0 100644 --- a/meta/recipes-devtools/genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch +++ b/meta/recipes-devtools/genext2fs/genext2fs-1.4.1/fix-nbblocks-cast.patch @@ -11,11 +11,13 @@ int tmp_nbinodes = nbblocks * BLOCKSIZE / bytes_per_inode; Upstream-Status: Submitted Signed-off-by: Saul Wold +Rebased by Dexuan Cui + Index: genext2fs-1.4.1/genext2fs.c =================================================================== ---- genext2fs-1.4.1.orig/genext2fs.c -+++ genext2fs-1.4.1/genext2fs.c -@@ -2447,7 +2447,7 @@ extern int optind, opterr, optopt; +--- a/genext2fs.c 2012-03-29 00:07:20.308856017 +0800 ++++ b/genext2fs.c 2012-03-29 00:09:06.848856005 +0800 +@@ -3041,7 +3041,7 @@ int main(int argc, char **argv) { @@ -24,12 +26,12 @@ Index: genext2fs-1.4.1/genext2fs.c int nbinodes = -1; int nbresrvd = -1; float bytes_per_inode = -1; -@@ -2609,7 +2609,7 @@ main(int argc, char **argv) +@@ -3203,7 +3203,7 @@ } if(fs_timestamp == -1) fs_timestamp = time(NULL); -- fs = init_fs(nbblocks, nbinodes, nbresrvd, holes, fs_timestamp); -+ fs = init_fs((int)nbblocks, nbinodes, nbresrvd, holes, fs_timestamp); +- fs = init_fs(nbblocks, nbinodes, nbresrvd, holes, fs_timestamp, ++ fs = init_fs((int)nbblocks, nbinodes, nbresrvd, holes, fs_timestamp, + bigendian, fsout); } - - populate_fs(fs, dopt, didx, squash_uids, squash_perms, fs_timestamp, NULL); + if (volumelabel != NULL) -- cgit v1.2.3-54-g00ecf