bubblewrap: update to 0.2.0. (#8035)

This commit is contained in:
maxice8 2017-10-13 04:30:57 -03:00 committed by Juan RP
parent 6ca7e5987a
commit 994867d536
2 changed files with 22 additions and 3 deletions

View file

@ -0,0 +1,19 @@
--- bubblewrap.c
+++ bubblewrap.c
@@ -42,6 +42,16 @@
#define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */
#endif
+/* taken from glibc unistd.h and fixes musl */
+#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
+
/* Globals to avoid having to use getuid(), since the uid/gid changes during runtime */
static uid_t real_uid;
static gid_t real_gid;

View file

@ -1,7 +1,7 @@
# Template file for 'bubblewrap'
pkgname=bubblewrap
version=0.1.8
revision=2
version=0.2.0
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libcap-devel"
@ -10,7 +10,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2"
homepage="https://github.com/projectatomic/bubblewrap"
distfiles="https://github.com/projectatomic/bubblewrap/archive/v${version}.tar.gz"
checksum=64f264f1ae3d7b8fbcfb7102592d42096f41ac7edda97ce57486aa3e05d8d489
checksum=50d612a2775e402105e26f8a9ab4ed314c7ba65ff85d4d051e96970b7136e99c
pre_configure() {
autoreconf -fi