void-packages/srcpkgs/kcgi/patches/ppc-sandbox.patch

19 lines
389 B
Diff

--- configure
+++ configure
@@ -444,6 +444,15 @@ if [ ${HAVE_SECCOMP_FILTER} -eq 1 ]; then
arm*)
echo "#define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARM"
;;
+ ppc64le)
+ echo "#define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64LE"
+ ;;
+ ppc64)
+ echo "#define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64"
+ ;;
+ ppc)
+ echo "#define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC"
+ ;;
esac
fi