1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/testing/flatpak/musl-fixes.patch
André Klitzing f59e398a50 testing/flatpak: upgrade to 0.9.1
* Remove merged patches
2017-03-20 11:44:23 +00:00

17 lines
637 B
Diff

--- a/config.h.in
+++ b/config.h.in
@@ -140,3 +140,14 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+/* taken from glibc unistd.h and fixes musl */
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+