summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-src_check_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:39:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-26 13:39:29 +0100
commitd5976f324b0dc931132c3788279bb3f2c668643e (patch)
treeb179e15497e2e649dc423d87e53c830607e1df13 /package/dosfstools/patches/patch-src_check_h
parent3f794fad83e51a090191803aa54f4a7fe0d5a2ef (diff)
fix musl compile s#loff_t#off_t#
Diffstat (limited to 'package/dosfstools/patches/patch-src_check_h')
-rw-r--r--package/dosfstools/patches/patch-src_check_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dosfstools/patches/patch-src_check_h b/package/dosfstools/patches/patch-src_check_h
new file mode 100644
index 000000000..7f0b5e643
--- /dev/null
+++ b/package/dosfstools/patches/patch-src_check_h
@@ -0,0 +1,11 @@
+--- dosfstools-3.0.26.orig/src/check.h 2014-01-17 07:07:02.000000000 +0100
++++ dosfstools-3.0.26/src/check.h 2014-03-26 13:25:47.000000000 +0100
+@@ -23,7 +23,7 @@
+ #ifndef _CHECK_H
+ #define _CHECK_H
+
+-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);
+
+ /* Allocate a free slot in the root directory for a new file. The file name is
+ constructed after 'pattern', which must include a %d type format for printf