fontconfig: fork and bump to 2.14.0, don't use pregenerated fcobjshash.h since i...
[kiss-trunc88.git] / flatpak / patches / fix-musl.patch
blob406a06d8340814d0090b29245c092c40287f7c59
1 --- a/config.h.in
2 +++ b/config.h.in
3 @@ -140,3 +140,14 @@
5 /* Define to 1 if you need to in order for `stat' and other things to work. */
6 #undef _POSIX_SOURCE
8 +/* taken from glibc unistd.h and fixes musl */
9 +#ifndef TEMP_FAILURE_RETRY
10 +#define TEMP_FAILURE_RETRY(expression) \
11 + (__extension__ \
12 + ({ long int __result; \
13 + do __result = (long int) (expression); \
14 + while (__result == -1L && errno == EINTR); \
15 + __result; }))
16 +#endif