packages/utils/xfsprogs/patches/140-mman.patch
Rosen Penev 05ce920e12
xfsprogs: update to 5.5
Reworked Makefile for consistency between packages.

Removed librt dependency. clock_gettime does not need it anymore.

Updated URL.

Add MAP_SYNC workaround as musl undefines MAP_SYNC for MIPS and PPC.

Refreshed patches and removed upstream ones

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-22 16:21:42 -07:00

13 lines
223 B
Diff

--- a/io/mmap.c
+++ b/io/mmap.c
@@ -11,6 +11,10 @@
#include "init.h"
#include "io.h"
+#ifndef MAP_SYNC
+#define MAP_SYNC 0
+#endif
+
static cmdinfo_t mmap_cmd;
static cmdinfo_t mread_cmd;
static cmdinfo_t msync_cmd;