From 0cb75896d9acfea6936248b325e2c37914e92383 Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
Date: Fri, 7 Apr 2023 20:15:19 +0200
Subject: app-crypt/yubihsm-shell: do not run hw-dependent tests and sanitize
 cflags

Closes: https://bugs.gentoo.org/903983
Closes: https://bugs.gentoo.org/903984
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
---
 app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild')

diff --git a/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild b/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild
index 6ff4ec262044..acc0bbc3eb7c 100644
--- a/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild
+++ b/app-crypt/yubihsm-shell/yubihsm-shell-2.4.0.ebuild
@@ -8,10 +8,12 @@ inherit cmake
 DESCRIPTION="Components used to interact with the YubiHSM 2"
 HOMEPAGE="https://developers.yubico.com/yubihsm-shell/"
 SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
+PATCHES=( "${FILESDIR}"/${P}-remove-hardcoded-compiler-opts.patch )
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
+RESTRICT="test"
 
 DEPEND="
 	dev-libs/openssl:=
-- 
cgit v1.2.3-65-gdbad