diff --git a/security/john/Makefile b/security/john/Makefile index 1358642f6165..8822f293079c 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -51,6 +51,8 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/params.h @${REINPLACE_CMD} -e '/^host_cpu=/s|$$| ; case $$host_cpu in\ amd64) host_cpu=x86_64 ;; esac|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,^#ifdef __linux,#ifndef __APPLE,' \ + ${WRKSRC}/DES_bs_b.c do-install: .for b in ${BINARIES} diff --git a/security/john/files/patch-src_sboxes-s.c b/security/john/files/patch-src_sboxes-s.c deleted file mode 100644 index b6caba0d866d..000000000000 --- a/security/john/files/patch-src_sboxes-s.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/sboxes-s.c.orig 2021-12-13 00:08:30.419393000 +0100 -+++ src/sboxes-s.c 2021-12-13 00:08:41.847880000 +0100 -@@ -32,6 +32,7 @@ - #define regs 8 - #else - /* PowerPC with AltiVec, etc. */ -+#include - #define regs 32 - #endif -