pmaports/temp/qemu/musl-F_SHLCK-and-F_EXLCK.patch
Oliver Smith 987d9c735d Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00

19 lines
380 B
Diff

This patch was not upstreamed to qemu as those should probably be
defined in musl libc.
--- ./linux-user/syscall.c.orig
+++ ./linux-user/syscall.c
@@ -114,6 +114,13 @@
#include "qemu.h"
+#ifndef F_SHLCK
+#define F_SHLCK 8
+#endif
+#ifndef F_EXLCK
+#define F_EXLCK 4
+#endif
+
#ifndef CLONE_IO
#define CLONE_IO 0x80000000 /* Clone io context */
#endif