From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../johntheripper/files/johntheripper-1.7.9-clang.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch (limited to 'app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch') diff --git a/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch b/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch new file mode 100644 index 000000000000..1b85914ed4ff --- /dev/null +++ b/app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch @@ -0,0 +1,15 @@ +Fix for building johntheripper with clang. + +https://bugs.gentoo.org/show_bug.cgi?id=554392 + +--- john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c ++++ john-1.7.9-jumbo-7/src/rawSHA1_ng_fmt.c +@@ -530,7 +530,7 @@ + + #if defined(__SSE4_1__) + +-# if !defined(__INTEL_COMPILER) ++# if !defined(__INTEL_COMPILER) && !defined(__clang__) + // This intrinsic is not always available in GCC, so define it here. + static inline int _mm_testz_si128 (__m128i __M, __m128i __V) + { -- cgit v1.2.3