Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2020 01:03:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552613 - head/security/hashcat/files
Message-ID:  <202010180103.09I13hDV068224@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010180103.09I13hDV068224>