summaryrefslogtreecommitdiff
path: root/sys-fs/squashfs-tools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-19 11:37:34 +0000
commitb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch)
tree9fd110f9fc996e8a4213eeda994a8c112491b86d /sys-fs/squashfs-tools/files
parent066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff)
gentoo resync : 19.03.2019
Diffstat (limited to 'sys-fs/squashfs-tools/files')
-rw-r--r--sys-fs/squashfs-tools/files/squashfs-tools-3.2-makedev.patch20
-rw-r--r--sys-fs/squashfs-tools/files/squashfs-tools-3.4-makedev.patch20
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-fs/squashfs-tools/files/squashfs-tools-3.2-makedev.patch b/sys-fs/squashfs-tools/files/squashfs-tools-3.2-makedev.patch
new file mode 100644
index 000000000000..c55d905dae18
--- /dev/null
+++ b/sys-fs/squashfs-tools/files/squashfs-tools-3.2-makedev.patch
@@ -0,0 +1,20 @@
+--- a/unsquashfs.c
++++ b/unsquashfs.c
+@@ -34,6 +34,7 @@
+ #include <zlib.h>
+ #include <sys/mman.h>
+ #include <utime.h>
++#include <sys/sysmacros.h> /* makedev */
+
+ #ifndef linux
+ #define __BYTE_ORDER BYTE_ORDER
+--- a/mksquashfs.c
++++ b/mksquashfs.c
+@@ -44,6 +44,7 @@
+ #include <sys/mman.h>
+ #include <pthread.h>
+ #include <math.h>
++#include <sys/sysmacros.h> /* makedev */
+
+ #ifndef linux
+ #define __BYTE_ORDER BYTE_ORDER
diff --git a/sys-fs/squashfs-tools/files/squashfs-tools-3.4-makedev.patch b/sys-fs/squashfs-tools/files/squashfs-tools-3.4-makedev.patch
new file mode 100644
index 000000000000..da9d6bed456f
--- /dev/null
+++ b/sys-fs/squashfs-tools/files/squashfs-tools-3.4-makedev.patch
@@ -0,0 +1,20 @@
+--- a/mksquashfs.c
++++ b/mksquashfs.c
+@@ -47,6 +47,7 @@
+ #include <math.h>
+ #include <regex.h>
+ #include <fnmatch.h>
++#include <sys/sysmacros.h> /* makedev */
+
+ #ifndef linux
+ #define __BYTE_ORDER BYTE_ORDER
+--- a/unsquashfs.c
++++ b/unsquashfs.c
+@@ -47,6 +47,7 @@
+ #include <math.h>
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
++#include <sys/sysmacros.h> /* makedev */
+
+ #ifndef linux
+ #define __BYTE_ORDER BYTE_ORDER