void-packages/srcpkgs/kcgi/patches/ppc64-sandbox.patch
q66 5b86383b98 kcgi: enable ppc64 targets and a wider range of hosts
This assumed the build host was x86_64, now it should work on a
wider range of hosts. It also patches in seccomp stuff for ppc64.
2019-01-27 21:25:12 +01:00

15 lines
433 B
Diff

--- configure
+++ configure
@@ -438,6 +438,12 @@ 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"
+ ;;
esac
fi