mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
xdg-dbus-proxy: add patch for musl
This commit is contained in:
parent
300db16ef9
commit
25327ead1a
2 changed files with 19 additions and 4 deletions
19
srcpkgs/xdg-dbus-proxy/patches/musl.patch
Normal file
19
srcpkgs/xdg-dbus-proxy/patches/musl.patch
Normal 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;
|
|
@ -12,7 +12,3 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/flatpak/xdg-dbus-proxy"
|
homepage="https://github.com/flatpak/xdg-dbus-proxy"
|
||||||
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=10b71573009d0e474d246576714742389eb65bba529276524b59ff5064791ef1
|
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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue