summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-src_fat_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_fat_h
parent3f794fad83e51a090191803aa54f4a7fe0d5a2ef (diff)
fix musl compile s#loff_t#off_t#
Diffstat (limited to 'package/dosfstools/patches/patch-src_fat_h')
-rw-r--r--package/dosfstools/patches/patch-src_fat_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dosfstools/patches/patch-src_fat_h b/package/dosfstools/patches/patch-src_fat_h
new file mode 100644
index 000000000..9a5a81b88
--- /dev/null
+++ b/package/dosfstools/patches/patch-src_fat_h
@@ -0,0 +1,11 @@
+--- dosfstools-3.0.26.orig/src/fat.h 2014-01-17 07:07:07.000000000 +0100
++++ dosfstools-3.0.26/src/fat.h 2014-03-26 13:29:04.000000000 +0100
+@@ -49,7 +49,7 @@ uint32_t next_cluster(DOS_FS * fs, uint3
+ last cluster of the respective cluster chain. CLUSTER must not be a bad
+ cluster. */
+
+-loff_t cluster_start(DOS_FS * fs, uint32_t cluster);
++off_t cluster_start(DOS_FS * fs, uint32_t cluster);
+
+ /* Returns the byte offset of CLUSTER, relative to the respective device. */
+