summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-06-02 02:45:28 -0500
committerAustin English <wizardedit@gentoo.org>2016-06-14 22:42:58 -0500
commitf44215bc85605856c871874d5dd3837be93838cf (patch)
tree36293d023f00d4e45af606f97f58374f9e2f189f /app-crypt/johntheripper/files
parentmail-filter/procmail: fix building with clang (diff)
downloadgentoo-f44215bc85605856c871874d5dd3837be93838cf.tar.gz
gentoo-f44215bc85605856c871874d5dd3837be93838cf.tar.bz2
gentoo-f44215bc85605856c871874d5dd3837be93838cf.zip
app-crypt/johntheripper: fix building with clang
Gentoo-Bug: https://bugs.gentoo.org/554392
Diffstat (limited to 'app-crypt/johntheripper/files')
-rw-r--r--app-crypt/johntheripper/files/johntheripper-1.7.9-clang.patch15
1 files changed, 15 insertions, 0 deletions
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)
+ {