From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubihsm-shell/, app-crypt/yubihsm-shell/files/
Date: Sun, 11 May 2025 00:35:48 +0000 (UTC) [thread overview]
Message-ID: <1746923375.120df43f87df20cdbdba76c113576ddf34233d49.sam@gentoo> (raw)
commit: 120df43f87df20cdbdba76c113576ddf34233d49
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri May 9 17:47:22 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 11 00:29:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120df43f
app-crypt/yubihsm-shell: fix non-lto build
Closes: https://bugs.gentoo.org/955169
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42005
Closes: https://github.com/gentoo/gentoo/pull/42005
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../yubihsm-shell-2.6.0-fix-examples-link.patch | 20 ++++++++++++++++++++
app-crypt/yubihsm-shell/yubihsm-shell-2.6.0.ebuild | 1 +
2 files changed, 21 insertions(+)
diff --git a/app-crypt/yubihsm-shell/files/yubihsm-shell-2.6.0-fix-examples-link.patch b/app-crypt/yubihsm-shell/files/yubihsm-shell-2.6.0-fix-examples-link.patch
new file mode 100644
index 000000000000..db6b907e7ae3
--- /dev/null
+++ b/app-crypt/yubihsm-shell/files/yubihsm-shell-2.6.0-fix-examples-link.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/955169
+
+This change is applied upstream as a part of a larger commit.
+This gets around non-lto builds failing with missing symbols.
+
+https://github.com/Yubico/yubihsm-shell/commit/ec05084df550fd25c3fe0acd7ab62ba7d2130b5c
+
+diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
+index 28750ad..50ab0e6 100644
+--- a/examples/CMakeLists.txt
++++ b/examples/CMakeLists.txt
+@@ -52,6 +52,7 @@ set (
+ SOURCE_WRAP
+ wrap.c
+ ../common/util.c
++ ../common/hash.c
+ ../common/openssl-compat.c
+ )
+
+
diff --git a/app-crypt/yubihsm-shell/yubihsm-shell-2.6.0.ebuild b/app-crypt/yubihsm-shell/yubihsm-shell-2.6.0.ebuild
index 7ea1e4b8c1fc..2b4f7c8da6d5 100644
--- a/app-crypt/yubihsm-shell/yubihsm-shell-2.6.0.ebuild
+++ b/app-crypt/yubihsm-shell/yubihsm-shell-2.6.0.ebuild
@@ -30,6 +30,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-2.6.0-pcsc-lite-pkgconfig.patch
"${FILESDIR}"/${PN}-2.6.0-remove-hardcoded-compiler-opts.patch
+ "${FILESDIR}"/${PN}-2.6.0-fix-examples-link.patch
)
src_configure() {
next reply other threads:[~2025-05-11 0:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-11 0:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 4:02 [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubihsm-shell/, app-crypt/yubihsm-shell/files/ Sam James
2023-04-07 18:16 Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1746923375.120df43f87df20cdbdba76c113576ddf34233d49.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox