From 25327ead1a72b7bf89f7e3d112094612fecd1cc4 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 25 Aug 2019 19:42:03 +0000 Subject: [PATCH] xdg-dbus-proxy: add patch for musl --- srcpkgs/xdg-dbus-proxy/patches/musl.patch | 19 +++++++++++++++++++ srcpkgs/xdg-dbus-proxy/template | 4 ---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/xdg-dbus-proxy/patches/musl.patch 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