svn commit: r556441 - head/security/botan2/files

Piotr Kubaj pkubaj at FreeBSD.org
Fri Nov 27 13:51:14 UTC 2020


Author: pkubaj
Date: Fri Nov 27 13:51:13 2020
New Revision: 556441
URL: https://svnweb.freebsd.org/changeset/ports/556441

Log:
  security/botan2: fix build on powerpc64
  
  aes_power8.cpp needs VSX too apart from crypto:
  src/lib/block/aes/aes_power8/aes_power8.cpp:43:49: error: use of undeclared identifier 'vec_vsx_ld'
     return (Altivec64x2)reverse_vec((Altivec8x16)vec_vsx_ld(0, key));;
                                                  ^
  src/lib/block/aes/aes_power8/aes_power8.cpp:48:36: error: use of undeclared identifier 'vec_vsx_ld'
     return (Altivec64x2)reverse_vec(vec_vsx_ld(0, src));

Added:
  head/security/botan2/files/patch-src_build-data_cc_clang.txt   (contents, props changed)

Added: head/security/botan2/files/patch-src_build-data_cc_clang.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/botan2/files/patch-src_build-data_cc_clang.txt	Fri Nov 27 13:51:13 2020	(r556441)
@@ -0,0 +1,11 @@
+--- src/build-data/cc/clang.txt.orig	2020-11-27 13:34:57 UTC
++++ src/build-data/cc/clang.txt
+@@ -58,7 +58,7 @@ rdseed -> "-mrdseed"
+ sha    -> "-msha"
+ altivec -> "-maltivec"
+ 
+-ppc64:powercrypto -> "-mcrypto"
++ppc64:powercrypto -> "-mcrypto -mvsx"
+ ppc64:power9 -> "-mcpu=power9"
+ 
+ arm64:armv8crypto -> "-march=armv8+crypto"


More information about the svn-ports-all mailing list