diff options
Diffstat (limited to 'recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch')
-rw-r--r-- | recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch b/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch new file mode 100644 index 0000000..35abd1a --- /dev/null +++ b/recipes-devtools/dosfstools/dosfstools/dosfstools-msdos_fs-types.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | Ensure the __s8 type is properly defined. | ||
2 | |||
3 | Upstream-Status: Inappropriate [licensing] | ||
4 | We're tracking an old release of dosfstools due to licensing issues. | ||
5 | |||
6 | Signed-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" | ||