kiss-flatpak

Flatpak for KISS Linux.
git clone https://git.stjo.hn/kiss-flatpak
Log | Files | Refs | README | LICENSE

fix-musl.patch (637B)


      1 --- a/config.h.in
      2 +++ b/config.h.in
      3 @@ -140,3 +140,14 @@
      4  
      5  /* Define to 1 if you need to in order for `stat' and other things to work. */
      6  #undef _POSIX_SOURCE
      7 +
      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
     17 +