security/liboqs: fix build on arm64

Import an upstream commit fixing the CPU feature detection code.

Obtained from:	https://github.com/open-quantum-safe/liboqs/pull/1267
Approved by:	yuri (maintainer)
Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38862
This commit is contained in:
Robert Clausecker
2023-02-28 23:03:12 +01:00
parent 92747e09c4
commit e5f6594374
2 changed files with 7 additions and 3 deletions

View File

@@ -1,7 +1,11 @@
PORTNAME= liboqs
DISTVERSION= 0.7.2-20220607
PORTREVISION= 1
CATEGORIES= security
PATCH_SITES= https://github.com/open-quantum-safe/liboqs/pull/1267/commits/
PATCHFILES= 676c0f53fd7d5601636cf698f04131b832f9d672.diff:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= C library for quantum-resistant cryptography
WWW= https://openquantumsafe.org/
@@ -9,8 +13,6 @@ WWW= https://openquantumsafe.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_aarch64= build breaks: use of undeclared identifier 'ID_AA64ISAR0_SHA3_BASE', see https://github.com/open-quantum-safe/liboqs/issues/1266
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
bash:shells/bash

View File

@@ -1,3 +1,5 @@
TIMESTAMP = 1669872031
TIMESTAMP = 1677621246
SHA256 (open-quantum-safe-liboqs-0.7.2-20220607-38d3014dc2f74ec0f0c1a9e7e61aa4d2251adcc9_GH0.tar.gz) = 7faa627bc956f4c9c2b42cfc43324a07a48407ce1efd125bbf5d04f3711a7979
SIZE (open-quantum-safe-liboqs-0.7.2-20220607-38d3014dc2f74ec0f0c1a9e7e61aa4d2251adcc9_GH0.tar.gz) = 8108855
SHA256 (676c0f53fd7d5601636cf698f04131b832f9d672.diff) = 1f509284402cdf2d85335cd1bdbf25bfd7437e112e490a772f28ca5ed133d481
SIZE (676c0f53fd7d5601636cf698f04131b832f9d672.diff) = 1392