diff options
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/squashfs-tools')
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch deleted file mode 100644 index f2e88f416a..0000000000 --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/squashfs-tools/files/squashfs-tools-4.3-sysmacros.patch | ||
2 | |||
3 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | |||
8 | sys/types.h might not always include sys/sysmacros.h for major/minor/makedev | ||
9 | |||
10 | --- a/squashfs-tools/mksquashfs.c | ||
11 | +++ b/squashfs-tools/mksquashfs.c | ||
12 | @@ -59,6 +59,7 @@ | ||
13 | #else | ||
14 | #include <endian.h> | ||
15 | #include <sys/sysinfo.h> | ||
16 | +#include <sys/sysmacros.h> | ||
17 | #endif | ||
18 | |||
19 | #include "squashfs_fs.h" | ||
20 | --- a/squashfs-tools/unsquashfs.c | ||
21 | +++ b/squashfs-tools/unsquashfs.c | ||
22 | @@ -40,6 +40,10 @@ | ||
23 | #include <limits.h> | ||
24 | #include <ctype.h> | ||
25 | |||
26 | +#ifdef linux | ||
27 | +#include <sys/sysmacros.h> | ||
28 | +#endif | ||
29 | + | ||
30 | struct cache *fragment_cache, *data_cache; | ||
31 | struct queue *to_reader, *to_inflate, *to_writer, *from_writer; | ||
32 | pthread_t *thread, *inflator_thread; | ||