aboutsummaryrefslogtreecommitdiffstats
path: root/community/flatpak-builder/musl-fixes.patch
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2018-09-17 12:14:54 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-19 10:21:22 +0000
commitc3ee28f943e47b845a5b9fefb83a97ed7a517d9c (patch)
treed9d030e42edf8960d945d5679c7e8de456ac79a3 /community/flatpak-builder/musl-fixes.patch
parentecd2579ef716260e389bde6457e3297d026957d5 (diff)
downloadaports-c3ee28f943e47b845a5b9fefb83a97ed7a517d9c.tar.bz2
aports-c3ee28f943e47b845a5b9fefb83a97ed7a517d9c.tar.xz
community/flatpak-builder: move from testing
Diffstat (limited to 'community/flatpak-builder/musl-fixes.patch')
-rw-r--r--community/flatpak-builder/musl-fixes.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/flatpak-builder/musl-fixes.patch b/community/flatpak-builder/musl-fixes.patch
new file mode 100644
index 0000000000..406a06d834
--- /dev/null
+++ b/community/flatpak-builder/musl-fixes.patch
@@ -0,0 +1,17 @@
+--- 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
++