From ce3dd8d4006760667251cc54e29437111f8f415f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 Jun 2018 05:05:33 -0500 Subject: system/bubblewrap: pull in for abuild-rootbld --- system/bubblewrap/musl-fixes.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 system/bubblewrap/musl-fixes.patch (limited to 'system/bubblewrap/musl-fixes.patch') diff --git a/system/bubblewrap/musl-fixes.patch b/system/bubblewrap/musl-fixes.patch new file mode 100644 index 000000000..ecf626331 --- /dev/null +++ b/system/bubblewrap/musl-fixes.patch @@ -0,0 +1,17 @@ +--- a/config.h.in ++++ b/config.h.in +@@ -102,3 +102,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 ++ -- cgit v1.2.3-60-g2f50