View | Details | Raw Unified | Return to bug 266732
Collapse All | Expand All

(-)b/security/john/files/patch-DES_bs_b.c (+12 lines)
Added Link Here
1
--- DES_bs_b.c.orig	2022-09-30 22:25:37.001483000 +0200
2
+++ DES_bs_b.c	2022-09-30 22:25:45.208020000 +0200
3
@@ -93,9 +93,7 @@
4
 	(dst) = vshr_n_u32((src), (shift))
5
 
6
 #elif defined(__ALTIVEC__) && DES_BS_DEPTH == 128
7
-#ifdef __linux__
8
 #include <altivec.h>
9
-#endif
10
 
11
 typedef vector signed int vtype;
12
 
(-)a/security/john/files/patch-src_sboxes-s.c (-11 lines)
Removed Link Here
1
--- src/sboxes-s.c.orig	2021-12-13 00:08:30.419393000 +0100
2
+++ src/sboxes-s.c	2021-12-13 00:08:41.847880000 +0100
3
@@ -32,6 +32,7 @@
4
 #define regs 8
5
 #else
6
 /* PowerPC with AltiVec, etc. */
7
+#include <altivec.h>
8
 #define regs 32
9
 #endif
10
 
11
- 

Return to bug 266732