diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-08 08:32:44 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-08 08:32:44 +0000 |
commit | ac6c773b3993baecc5450b7d36f98d33e95ef369 (patch) | |
tree | 265911defc6930fcd0f6cda65841f9989a40abe5 /meta-extras/packages/dosfstools/files/include-linux-types.patch | |
parent | bdcf04a863fe53c97027185a0e6791789ab462c4 (diff) | |
download | poky-ac6c773b3993baecc5450b7d36f98d33e95ef369.tar.gz |
dosfstools: added (from OE + patch for 2.6.20 headers)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1888 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/dosfstools/files/include-linux-types.patch')
-rw-r--r-- | meta-extras/packages/dosfstools/files/include-linux-types.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-extras/packages/dosfstools/files/include-linux-types.patch b/meta-extras/packages/dosfstools/files/include-linux-types.patch new file mode 100644 index 0000000000..4bbd4e76e4 --- /dev/null +++ b/meta-extras/packages/dosfstools/files/include-linux-types.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | mkdsofs is using types of the style __u8, which it gets with some | ||
2 | versions of libc headers via linux/hdreg.h including asm/types.h. | ||
3 | Newer version of fedora (at least) have a hdreg.h whichdoes not | ||
4 | include asm/types.h. To work around this patch mkdosfs.c to explicity | ||
5 | include linux/types.h which will in turn pull in asm/types.h which | ||
6 | defines these variables. | ||
7 | |||
8 | --- dosfstools-2.10/mkdosfs/mkdosfs.c~ 2006-07-12 18:46:21.000000000 +1000 | ||
9 | +++ dosfstools-2.10/mkdosfs/mkdosfs.c 2006-07-12 18:46:21.000000000 +1000 | ||
10 | @@ -60,6 +60,7 @@ | ||
11 | #include "../version.h" | ||
12 | |||
13 | #include <fcntl.h> | ||
14 | +#include <linux/types.h> | ||
15 | #include <linux/hdreg.h> | ||
16 | #include <linux/fs.h> | ||
17 | #include <linux/fd.h> | ||