summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-src_lfn_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-26 21:13:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-26 21:13:01 +0100
commitc48fde9c51983494910925bc4a13cf862f320d38 (patch)
tree1d024def3e43c4544e860a9fcab48707197a29a9 /package/dosfstools/patches/patch-src_lfn_h
parent291a3cf5e1ba11aa9e548a756fe85c51d7b3217f (diff)
parent199f633fb1077c7ffedff161726e9229e7312152 (diff)
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Diffstat (limited to 'package/dosfstools/patches/patch-src_lfn_h')
-rw-r--r--package/dosfstools/patches/patch-src_lfn_h20
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