From 865955c0539d825dcdd54cb0f9fb020f068f7b21 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Sat, 7 Mar 2020 12:22:13 +0100 Subject: [PATCH] libseccomp: update to 2.4.3. --- ...7f5b6b52996bf30d0c2c1d1248e4182e1c1c.patch | 41 ------------------- srcpkgs/libseccomp/template | 6 +-- 2 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/libseccomp/patches/e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c.patch diff --git a/srcpkgs/libseccomp/patches/e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c.patch b/srcpkgs/libseccomp/patches/e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c.patch deleted file mode 100644 index 911f89a1f0..0000000000 --- a/srcpkgs/libseccomp/patches/e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c Mon Sep 17 00:00:00 2001 -From: Miroslav Lichvar -Date: Wed, 13 Nov 2019 13:36:10 +0100 -Subject: [PATCH] api: define __SNR_ppoll again - -Commit bf747eb21e428c2b3ead6ebcca27951b681963a0 accidentally removed the -__SNR_ppoll definition. Add it back, using a PNR value if disabled in -the kernel headers. - -Signed-off-by: Miroslav Lichvar -Acked-by: Tom Hromatka -Signed-off-by: Paul Moore ---- - include/seccomp-syscalls.h | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h -index 6457592..3c958df 100644 ---- include/seccomp-syscalls.h -+++ include/seccomp-syscalls.h -@@ -272,6 +272,7 @@ - #define __PNR_timerfd_gettime64 -10238 - #define __PNR_timerfd_settime64 -10239 - #define __PNR_utimensat_time64 -10240 -+#define __PNR_ppoll -10241 - - /* - * libseccomp syscall definitions -@@ -1359,6 +1360,12 @@ - #define __SNR_poll __PNR_poll - #endif - -+#ifdef __NR_ppoll -+#define __SNR_ppoll __NR_ppoll -+#else -+#define __SNR_ppoll __PNR_ppoll -+#endif -+ - #ifdef __NR_ppoll_time64 - #define __SNR_ppoll_time64 __NR_ppoll_time64 - #else diff --git a/srcpkgs/libseccomp/template b/srcpkgs/libseccomp/template index f411d6ef8a..7fa49c18b1 100644 --- a/srcpkgs/libseccomp/template +++ b/srcpkgs/libseccomp/template @@ -1,7 +1,7 @@ # Template file for 'libseccomp' pkgname=libseccomp -version=2.4.2 -revision=2 +version=2.4.3 +revision=1 build_style=gnu-configure hostmakedepends="automake libtool" short_desc="High level interface to the Linux Kernel's seccomp filter" @@ -9,7 +9,7 @@ maintainer="Anthony Iliopoulos " license="LGPL-2.1-or-later" homepage="https://github.com/seccomp/libseccomp/" distfiles="https://github.com/seccomp/${pkgname}/archive/v${version}.tar.gz" -checksum=c988dc3f6c641e12c68285afb57d69361f3bfd5b7235d067b3991bf9a57cca7e +checksum=4d86f0bd0847795bf7f7bf6e44cb73edf4417d84f6d8848c23eda99b0c50fce6 post_extract() { case "$XBPS_TARGET_MACHINE" in