summaryrefslogtreecommitdiff
path: root/meta/packages/dosfstools/files/include-linux-types.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-11 21:48:55 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-11 21:48:55 +0000
commitffb1c7c470fdbcb6939b8b3c099785892dddc3f8 (patch)
treed128ed6438ea891ac5bad0bd2b756f7c0a7b0b93 /meta/packages/dosfstools/files/include-linux-types.patch
parent03abf8e9c63de4d0eb25ee6704874910cf30e2a1 (diff)
downloadopenembedded-core-ffb1c7c470fdbcb6939b8b3c099785892dddc3f8.tar.gz
openembedded-core-ffb1c7c470fdbcb6939b8b3c099785892dddc3f8.tar.bz2
openembedded-core-ffb1c7c470fdbcb6939b8b3c099785892dddc3f8.tar.xz
openembedded-core-ffb1c7c470fdbcb6939b8b3c099785892dddc3f8.zip
dosfsutils: Move from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2868 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/dosfstools/files/include-linux-types.patch')
-rw-r--r--meta/packages/dosfstools/files/include-linux-types.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/dosfstools/files/include-linux-types.patch b/meta/packages/dosfstools/files/include-linux-types.patch
new file mode 100644
index 000000000..4bbd4e76e
--- /dev/null
+++ b/meta/packages/dosfstools/files/include-linux-types.patch
@@ -0,0 +1,17 @@
+mkdsofs is using types of the style __u8, which it gets with some
+versions of libc headers via linux/hdreg.h including asm/types.h.
+Newer version of fedora (at least) have a hdreg.h whichdoes not
+include asm/types.h. To work around this patch mkdosfs.c to explicity
+include linux/types.h which will in turn pull in asm/types.h which
+defines these variables.
+
+--- dosfstools-2.10/mkdosfs/mkdosfs.c~ 2006-07-12 18:46:21.000000000 +1000
++++ dosfstools-2.10/mkdosfs/mkdosfs.c 2006-07-12 18:46:21.000000000 +1000
+@@ -60,6 +60,7 @@
+ #include "../version.h"
+
+ #include <fcntl.h>
++#include <linux/types.h>
+ #include <linux/hdreg.h>
+ #include <linux/fs.h>
+ #include <linux/fd.h>