From 63c1e58910cbc3c5cc4b4bdf966f68dd292980a1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:10:50 +0200 Subject: Adding debian version 2.39.3-6. Signed-off-by: Daniel Baumann --- .../upstream/enosys-fix-build-on-hppa.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 debian/patches/upstream/enosys-fix-build-on-hppa.patch (limited to 'debian/patches/upstream/enosys-fix-build-on-hppa.patch') diff --git a/debian/patches/upstream/enosys-fix-build-on-hppa.patch b/debian/patches/upstream/enosys-fix-build-on-hppa.patch new file mode 100644 index 0000000..a4739f5 --- /dev/null +++ b/debian/patches/upstream/enosys-fix-build-on-hppa.patch @@ -0,0 +1,29 @@ +From: John David Anglin +Date: Mon, 7 Aug 2023 15:37:17 +0000 +Subject: enosys: fix build on hppa + +The following patch fixes the definition of SECCOMP_ARCH_NATIVE +on hppa. + +Signed-off-by: John David Anglin +--- + include/audit-arch.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/include/audit-arch.h b/include/audit-arch.h +index db14560..679964f 100644 +--- a/include/audit-arch.h ++++ b/include/audit-arch.h +@@ -59,6 +59,12 @@ + # else + # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 + # endif ++#elif __hppa__ ++# if __SIZEOF_POINTER__ == 4 ++# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC ++# else ++# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_PARISC64 ++# endif + #else + # error Unknown target architecture + #endif -- cgit v1.2.3