logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

xdg-dbus-proxy-0.1.2_temp_failure_retry.patch (757B)


  1. https://github.com/flatpak/flatpak/issues/618
  2. diff --git a/dbus-proxy.c b/dbus-proxy.c
  3. index 163df21..99090e1 100644
  4. --- a/dbus-proxy.c
  5. +++ b/dbus-proxy.c
  6. @@ -31,6 +31,16 @@
  7. #include "flatpak-proxy.h"
  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. +
  18. static const char *argv0;
  19. static GList *proxies;
  20. static int sync_fd = -1;