aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dosfstools/patches
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-07-13 19:13:49 +0200
committerÁlvaro Fernández Rojas <noltari@skynet>2016-07-13 22:59:00 +0200
commit57530dbec64c4dbbec78b00bac818403447b3318 (patch)
tree015385002f07c2abcb0d24a53805074e51b68dff /tools/dosfstools/patches
parent14ee2b06429fef0f083dede3926619d98bf2eeeb (diff)
downloadupstream-57530dbec64c4dbbec78b00bac818403447b3318.tar.gz
upstream-57530dbec64c4dbbec78b00bac818403447b3318.tar.bz2
upstream-57530dbec64c4dbbec78b00bac818403447b3318.zip
dosfstools: fix build on OS X
- avoid using tools/include/endian.h on OS X to fix compilation. - remove unneeded Host/Compile definition. - refresh patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'tools/dosfstools/patches')
-rw-r--r--tools/dosfstools/patches/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch7
1 files changed, 1 insertions, 6 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
index 09e732016e..76672e0e34 100644
--- 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
@@ -13,11 +13,9 @@ Signed-off-by: Andreas Bombe <aeb@debian.org>
src/mkfs.fat.c | 10 ++++++++++
1 file changed, 10 insertions(+)
-diff --git a/src/mkfs.fat.c b/src/mkfs.fat.c
-index 8a320fd..bad492b 100644
--- a/src/mkfs.fat.c
+++ b/src/mkfs.fat.c
-@@ -519,6 +519,16 @@ static void establish_params(struct device_info *info)
+@@ -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;
@@ -34,6 +32,3 @@ index 8a320fd..bad492b 100644
if (info->type != TYPE_FIXED) {
/* enter default parameters for floppy disks if the size matches */
switch (info->size / 1024) {
---
-2.1.4
-