index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-26 21:32:44 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-26 21:32:44 +0200 |
commit | 3cf12639b379fd9ee33a5b62399504083824e41b (patch) | |
tree | f2e68c4a4a9df0b65be3d422dfea5ec19ac23bbb /community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch | |
parent | 77a5faaa6ea7f89e6866424e4012884d8e0fb3fe (diff) |
-rw-r--r-- | community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch | 24 |
diff --git a/community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch b/community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch new file mode 100644 index 00000000..14246b4a --- /dev/null +++ b/community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch @@ -0,0 +1,24 @@ +diff -rauN squashfs4.3/squashfs-tools/mksquashfs.c squashfs4.3-sysmacros-patch/squashfs-tools/mksquashfs.c +--- squashfs4.3/squashfs-tools/mksquashfs.c 2014-05-13 00:18:20.000000000 +0200 ++++ squashfs4.3-sysmacros-patch/squashfs-tools/mksquashfs.c 2018-10-26 21:25:02.550480701 +0200 +@@ -59,6 +59,7 @@ + #else + #include <endian.h> + #include <sys/sysinfo.h> ++#include <sys/sysmacros.h> + #endif + + #include "squashfs_fs.h" +diff -rauN squashfs4.3/squashfs-tools/unsquashfs.c squashfs4.3-sysmacros-patch/squashfs-tools/unsquashfs.c +--- squashfs4.3/squashfs-tools/unsquashfs.c 2014-05-13 00:18:35.000000000 +0200 ++++ squashfs4.3-sysmacros-patch/squashfs-tools/unsquashfs.c 2018-10-26 21:25:27.830242229 +0200 +@@ -37,6 +37,9 @@ + #include <sys/resource.h> + #include <limits.h> + #include <ctype.h> ++#ifdef linux ++#include <sys/sysmacros.h> ++#endif + + struct cache *fragment_cache, *data_cache; + struct queue *to_reader, *to_inflate, *to_writer, *from_writer; |