svn commit: r552613 - head/security/hashcat/files
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Oct 18 01:03:43 UTC 2020
Author: pkubaj
Date: Sun Oct 18 01:03:42 2020
New Revision: 552613
URL: https://svnweb.freebsd.org/changeset/ports/552613
Log:
security/hashcat: fix build on powerpc64le
Don't include altivec.h when using clang, build breaks then.
Added:
head/security/hashcat/files/
head/security/hashcat/files/patch-deps_git_OpenCL-Headers_CL_cl__platform.h (contents, props changed)
Added: head/security/hashcat/files/patch-deps_git_OpenCL-Headers_CL_cl__platform.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/hashcat/files/patch-deps_git_OpenCL-Headers_CL_cl__platform.h Sun Oct 18 01:03:42 2020 (r552613)
@@ -0,0 +1,12 @@
+--- deps/git/OpenCL-Headers/CL/cl_platform.h.orig 2020-10-18 01:01:11 UTC
++++ deps/git/OpenCL-Headers/CL/cl_platform.h
+@@ -431,7 +431,9 @@ typedef unsigned int cl_GLenum;
+
+ /* Define basic vector types */
+ #if defined( __VEC__ )
++# ifndef __clang__
+ #include <altivec.h> /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
++# endif
+ typedef vector unsigned char __cl_uchar16;
+ typedef vector signed char __cl_char16;
+ typedef vector unsigned short __cl_ushort8;
More information about the svn-ports-all
mailing list