]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
add squashfs sysmacros patch
authorMarkham <markham001@gmx.de>
Tue, 27 Jul 2021 16:20:52 +0000 (18:20 +0200)
committerMarkham <markham001@gmx.de>
Tue, 27 Jul 2021 16:20:52 +0000 (18:20 +0200)
archive-patches/squashfs-4.2-sysmacros.patch [new file with mode: 0644]
make/bootstrap.mk

diff --git a/archive-patches/squashfs-4.2-sysmacros.patch b/archive-patches/squashfs-4.2-sysmacros.patch
new file mode 100644 (file)
index 0000000..1657ee5
--- /dev/null
@@ -0,0 +1,21 @@
+--- a/squashfs-tools/mksquashfs.c
++++ b/squashfs-tools/mksquashfs.c
+@@ -34,6 +34,7 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <dirent.h>
+
+--- a/squashfs-tools/unsquashfs.c
++++ b/squashfs-tools/unsquashfs.c
+@@ -31,6 +31,7 @@
+ #include <sys/sysinfo.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ struct cache *fragment_cache, *data_cache;
+ struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
index 05fd6957bbc5e9e7a00947fb5fb98cd0551fafef..79582a4f4c61965118722536d55febd71b13c5b6 100755 (executable)
@@ -153,6 +153,7 @@ $(D)/host_mksquashfs: $(ARCHIVE)/lzma-$(LZMA_VER).tar.bz2 $(ARCHIVE)/squashfs$(H
        $(REMOVE)/squashfs$(HOST_MKSQUASHFS_VER)
        $(UNTAR)/squashfs$(HOST_MKSQUASHFS_VER).tar.gz
        set -e; cd $(BUILD_TMP)/squashfs$(HOST_MKSQUASHFS_VER); \
+               $(PATCH)/squashfs-4.2-sysmacros.patch; \
                $(MAKE) -C squashfs-tools \
                        LZMA_SUPPORT=1 \
                        LZMA_DIR=$(BUILD_TMP)/lzma-$(LZMA_VER) \