aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dosfstools/patches
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2017-03-14 08:23:10 +0100
committerJohn Crispin <john@phrozen.org>2017-03-20 08:24:05 +0100
commit49ded28027e5bba3ce623a8205aac0e8e70e250a (patch)
tree26e3a683fb1b60d9abf39bc91a48989376902d05 /tools/dosfstools/patches
parent31be46e16924dc6feaffa8f53b2f88ed8d6687ea (diff)
downloadupstream-49ded28027e5bba3ce623a8205aac0e8e70e250a.tar.gz
upstream-49ded28027e5bba3ce623a8205aac0e8e70e250a.tar.bz2
upstream-49ded28027e5bba3ce623a8205aac0e8e70e250a.zip
tools/dosfstools: Update to 4.1
Update to 4.1 Remove 0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch as it's included in upstream repo. Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'tools/dosfstools/patches')
-rw-r--r--tools/dosfstools/patches/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch34
-rw-r--r--tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch4
2 files changed, 2 insertions, 36 deletions
diff --git a/tools/dosfstools/patches/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch b/tools/dosfstools/patches/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch
deleted file mode 100644
index 76672e0e34..0000000000
--- a/tools/dosfstools/patches/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 1e76e5778a1885452939a79d9145b80634a5b023 Mon Sep 17 00:00:00 2001
-From: Andreas Bombe <aeb@debian.org>
-Date: Wed, 11 May 2016 03:44:58 +0200
-Subject: [PATCH] mkfs: Default to 64/32 heads/sectors for targets smaller than
- 512 MB
-
-This may put defaults in certain use cases a little bit more in line
-with the old defaults in versions up to 3.0.28. It has mostly aesthetic
-value in most cases.
-
-Signed-off-by: Andreas Bombe <aeb@debian.org>
----
- src/mkfs.fat.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
---- a/src/mkfs.fat.c
-+++ b/src/mkfs.fat.c
-@@ -519,6 +519,16 @@ static void establish_params(struct devi
- unsigned int cluster_size = 4; /* starting point for FAT12 and FAT16 */
- int def_root_dir_entries = 512;
-
-+ if (info->size < 512 * 1024 * 1024) {
-+ /*
-+ * These values are more or less meaningless, but we can at least
-+ * use less extreme values for smaller filesystems where the large
-+ * dummy values signifying LBA only access are not needed.
-+ */
-+ sec_per_track = 32;
-+ heads = 64;
-+ }
-+
- if (info->type != TYPE_FIXED) {
- /* enter default parameters for floppy disks if the size matches */
- switch (info->size / 1024) {
diff --git a/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch b/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch
index 72a932dfd5..ea93320821 100644
--- a/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch
+++ b/tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch
@@ -23,5 +23,5 @@ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-AC_SEARCH_LIBS(iconv_open, iconv)
+AC_CHECK_LIB(iconv, iconv_open)
- AC_CONFIG_FILES([Makefile src/Makefile src/version.h
- manpages/Makefile manpages/mkfs.fat.8
+ # xxd (distributed with vim) is used in the testsuite
+ AC_CHECK_PROG([XXD_FOUND], [xxd], [yes])