From 809fe307f02ed333ae4e3ce3325df958e19c3ab1 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 19 Oct 2022 07:48:36 +0000 Subject: security/john: try to fix the port's build on AArch64 In commit 1e6670382fbb, the observed failure on PowerPC had been mended in a way that broke AArch64 build. Robert's investigation had shown that should've been included elsewhere, and it actually is, but guarded by `#ifdef __linux__' for some reason. Alexander explained that at the time the AltiVec support was just for two platforms: macOS (first) and Linux (added later). If the guard of `#include ' was needed, then we could probably replace the `#ifdef __linux__' with `#ifndef __APPLE__' for the same effect on old macOS versions which do not need the #include. PR: 266732 Submitted by: Robert Clausecker Discussed with: Solar Designer --- security/john/files/patch-src_sboxes-s.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 security/john/files/patch-src_sboxes-s.c (limited to 'security/john/files/patch-src_sboxes-s.c') 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 - -- cgit v1.2.3