xdg-dbus-proxy: add patch for musl

This commit is contained in:
John 2019-08-25 19:42:03 +00:00
parent 300db16ef9
commit 25327ead1a
2 changed files with 19 additions and 4 deletions

View file

@ -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;

View file

@ -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