diff --git a/srcpkgs/xdg-dbus-proxy/patches/musl.patch b/srcpkgs/xdg-dbus-proxy/patches/musl.patch new file mode 100644 index 00000000000..b0c01f4dc0d --- /dev/null +++ b/srcpkgs/xdg-dbus-proxy/patches/musl.patch @@ -0,0 +1,19 @@ +--- dbus-proxy.c 2019-01-15 18:02:01.000000000 +0000 ++++ - 2019-08-25 19:41:33.423715619 +0000 +@@ -31,6 +31,16 @@ + + #include "flatpak-proxy.h" + ++// Taken from glibc unistd.h ++#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 ++ + static const char *argv0; + static GList *proxies; + static int sync_fd = -1; diff --git a/srcpkgs/xdg-dbus-proxy/template b/srcpkgs/xdg-dbus-proxy/template index c65216aa073..066fe894a5a 100644 --- a/srcpkgs/xdg-dbus-proxy/template +++ b/srcpkgs/xdg-dbus-proxy/template @@ -12,7 +12,3 @@ license="GPL-3.0-or-later" homepage="https://github.com/flatpak/xdg-dbus-proxy" distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz" checksum=10b71573009d0e474d246576714742389eb65bba529276524b59ff5064791ef1 - -case "$XBPS_TARGET_MACHINE" in - *-musl) broken="https://build.voidlinux.org/builders/armv7l-musl_builder/builds/20651/steps/shell_3/logs/stdio";; -esac