diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 13:39:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 13:39:29 +0100 |
commit | d5976f324b0dc931132c3788279bb3f2c668643e (patch) | |
tree | b179e15497e2e649dc423d87e53c830607e1df13 /package/dosfstools/patches/patch-src_lfn_h | |
parent | 3f794fad83e51a090191803aa54f4a7fe0d5a2ef (diff) |
fix musl compile s#loff_t#off_t#
Diffstat (limited to 'package/dosfstools/patches/patch-src_lfn_h')
-rw-r--r-- | package/dosfstools/patches/patch-src_lfn_h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/dosfstools/patches/patch-src_lfn_h b/package/dosfstools/patches/patch-src_lfn_h new file mode 100644 index 000000000..0027ce035 --- /dev/null +++ b/package/dosfstools/patches/patch-src_lfn_h @@ -0,0 +1,20 @@ +--- dosfstools-3.0.26.orig/src/lfn.h 2014-01-17 07:07:17.000000000 +0100 ++++ dosfstools-3.0.26/src/lfn.h 2014-03-26 13:24:56.000000000 +0100 +@@ -26,14 +26,14 @@ + void lfn_reset(void); + /* Reset the state of the LFN parser. */ + +-void lfn_add_slot(DIR_ENT * de, loff_t dir_offset); ++void lfn_add_slot(DIR_ENT * de, off_t dir_offset); + /* Process a dir slot that is a VFAT LFN entry. */ + +-char *lfn_get(DIR_ENT * de, loff_t * lfn_offset); ++char *lfn_get(DIR_ENT * de, off_t * lfn_offset); + /* Retrieve the long name for the proper dir entry. */ + + void lfn_check_orphaned(void); + +-void lfn_fix_checksum(loff_t from, loff_t to, const char *short_name); ++void lfn_fix_checksum(off_t from, off_t to, const char *short_name); + + #endif |