diff --git a/utils/xfsprogs/Makefile b/utils/xfsprogs/Makefile index 335c8f7119..c14960e5b7 100644 --- a/utils/xfsprogs/Makefile +++ b/utils/xfsprogs/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xfsprogs PKG_VERSION:=5.5.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs diff --git a/utils/xfsprogs/patches/140-mman.patch b/utils/xfsprogs/patches/140-mman.patch index 936d3cc29e..fef5d50a24 100644 --- a/utils/xfsprogs/patches/140-mman.patch +++ b/utils/xfsprogs/patches/140-mman.patch @@ -1,12 +1,16 @@ --- a/io/mmap.c +++ b/io/mmap.c -@@ -11,6 +11,10 @@ +@@ -11,6 +11,14 @@ #include "init.h" #include "io.h" +#ifndef MAP_SYNC +#define MAP_SYNC 0 +#endif ++ ++#ifndef MAP_SHARED_VALIDATE ++#define MAP_SHARED_VALIDATE 0x03 ++#endif + static cmdinfo_t mmap_cmd; static cmdinfo_t mread_cmd;