summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch')
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch b/meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch
new file mode 100644
index 0000000..35abd1a
--- /dev/null
+++ b/meta/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch
@@ -0,0 +1,37 @@
1Ensure the __s8 type is properly defined.
2
3Upstream-Status: Inappropriate [licensing]
4We're tracking an old release of dosfstools due to licensing issues.
5
6Signed-off-by: Scott Garman <scott.a.garman@intel.com>
7
8--- dosfstools-2.10/dosfsck/dosfsck.h.org 2006-02-21 08:36:14.000000000 -0700
9+++ dosfstools-2.10/dosfsck/dosfsck.h 2006-02-21 08:40:12.000000000 -0700
10@@ -22,6 +22,14 @@
11 #undef __KERNEL__
12 #endif
13
14+#ifndef __s8
15+#include <asm/types.h>
16+#endif
17+
18+#ifndef __ASM_STUB_BYTEORDER_H__
19+#include <asm/byteorder.h>
20+#endif
21+
22 #include <linux/msdos_fs.h>
23
24 /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't
25--- dosfstools-2.10/dosfsck/file.c.org 2006-02-21 08:37:36.000000000 -0700
26+++ dosfstools-2.10/dosfsck/file.c 2006-02-21 08:37:47.000000000 -0700
27@@ -23,6 +23,10 @@
28 #undef __KERNEL__
29 #endif
30
31+#ifndef __s8
32+#include <asm/types.h>
33+#endif
34+
35 #include <linux/msdos_fs.h>
36
37 #include "common.h"