package/xfsprogs: fix build for architectures without MAP_SYNC
Back port a patch from upstream that will be in the next xfsprogs release:
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?h=for-next&id=28965957f4ea5c79fc0b91b997168c656a4426c5
required a tiny bit of massaging to apply cleanly to xfsprogs-5.14.2.
Fixes: http://autobuild.buildroot.net/results/407131b767fc8241e8f5f5001c0b5d4e2c488dea
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8acfedf922
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>