squashfs-tools: fix build with glibc >= 2.28
This commit is contained in:
parent
cffa44fff1
commit
321ce49eec
20
srcpkgs/squashfs-tools/patches/fix-glibc-2.28.patch
Normal file
20
srcpkgs/squashfs-tools/patches/fix-glibc-2.28.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- squashfs-tools/mksquashfs.c 2018-02-15 14:11:24.661930637 +0100
|
||||
+++ squashfs-tools/mksquashfs.c 2018-02-15 14:12:28.218412025 +0100
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <setjmp.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/mman.h>
|
||||
#include <pthread.h>
|
||||
#include <regex.h>
|
||||
#include <sys/wait.h>
|
||||
--- squashfs-tools/unsquashfs.c 2018-02-15 14:25:34.608263881 +0100
|
||||
+++ squashfs-tools/unsquashfs.c 2018-02-15 14:26:01.376410327 +0100
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
|
Loading…
Reference in New Issue
Block a user