From 2b214ce885a39e20f2853cfcdf6e8bf0c4a813e1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 29 May 2016 08:39:36 +0200 Subject: dosfstools: update to 4.0 --- package/dosfstools/patches/patch-src_check_c | 49 ---------------------------- 1 file changed, 49 deletions(-) delete mode 100644 package/dosfstools/patches/patch-src_check_c (limited to 'package/dosfstools/patches/patch-src_check_c') diff --git a/package/dosfstools/patches/patch-src_check_c b/package/dosfstools/patches/patch-src_check_c deleted file mode 100644 index cdfc953fe..000000000 --- a/package/dosfstools/patches/patch-src_check_c +++ /dev/null @@ -1,49 +0,0 @@ ---- dosfstools-3.0.26.orig/src/check.c 2014-03-07 18:35:11.000000000 +0100 -+++ dosfstools-3.0.26/src/check.c 2014-03-26 10:04:41.000000000 +0100 -@@ -64,7 +64,7 @@ static DOS_FILE *root; - p->dir_ent.start = htole16(__v&0xffff); \ - p->dir_ent.starthi = htole16(__v>>16); \ - __v = htole32(__v); \ -- fs_write((loff_t)offsetof(struct boot_sector,root_cluster), \ -+ fs_write((off_t)offsetof(struct boot_sector,root_cluster), \ - sizeof(((struct boot_sector *)0)->root_cluster), \ - &__v); \ - } \ -@@ -75,16 +75,16 @@ static DOS_FILE *root; - } \ - } while(0) - --loff_t alloc_rootdir_entry(DOS_FS * fs, DIR_ENT * de, const char *pattern) -+off_t alloc_rootdir_entry(DOS_FS * fs, DIR_ENT * de, const char *pattern) - { - static int curr_num = 0; -- loff_t offset; -+ off_t offset; - - if (fs->root_cluster) { - DIR_ENT d2; - int i = 0, got = 0; - uint32_t clu_num, prev = 0; -- loff_t offset2; -+ off_t offset2; - - clu_num = fs->root_cluster; - offset = cluster_start(fs, clu_num); -@@ -333,7 +333,7 @@ static int bad_name(DOS_FILE * file) - return 0; - } - --static void lfn_remove(loff_t from, loff_t to) -+static void lfn_remove(off_t from, off_t to) - { - DIR_ENT empty; - -@@ -949,7 +949,7 @@ static void new_dir(void) - * @param cp - */ - static void add_file(DOS_FS * fs, DOS_FILE *** chain, DOS_FILE * parent, -- loff_t offset, FDSC ** cp) -+ off_t offset, FDSC ** cp) - { - DOS_FILE *new; - DIR_ENT de; -- cgit v1.2.3