Hello community, here is the log from the commit of package libseccomp for openSUSE:Factory checked in at 2020-02-24 15:49:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libseccomp (Old) and /work/SRC/openSUSE:Factory/.libseccomp.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libseccomp" Mon Feb 24 15:49:41 2020 rev:27 rq:774875 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libseccomp/libseccomp.changes 2020-01-10 18:41:36.903518571 +0100 +++ /work/SRC/openSUSE:Factory/.libseccomp.new.26092/libseccomp.changes 2020-02-24 15:49:43.599113809 +0100 @@ -1,0 +2,6 @@ +Mon Feb 17 08:10:13 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Add patch to fix ntpsec and others build (accidental drop of symbols): + * SNR_ppoll.patch + +------------------------------------------------------------------- New: ---- SNR_ppoll.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libseccomp.spec ++++++ --- /var/tmp/diff_new_pack.lFEh8U/_old 2020-02-24 15:49:44.455115716 +0100 +++ /var/tmp/diff_new_pack.lFEh8U/_new 2020-02-24 15:49:44.455115716 +0100 @@ -31,6 +31,7 @@ Source99: baselibs.conf Patch1: no-static.diff Patch2: libseccomp-fix_aarch64-test.patch +Patch3: SNR_ppoll.patch BuildRequires: autoconf BuildRequires: automake >= 1.11 BuildRequires: fdupes ++++++ SNR_ppoll.patch ++++++ >From e3647f5b6b52996bf30d0c2c1d1248e4182e1c1c Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar <[email protected]> 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 <[email protected]> Acked-by: Tom Hromatka <[email protected]> Signed-off-by: Paul Moore <[email protected]> --- 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 --- a/include/seccomp-syscalls.h +++ b/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
