public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelen <jjelen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kryoptic] f44: Unbreak build on i686
Date: Fri, 05 Jun 2026 19:12:28 GMT [thread overview]
Message-ID: <178068674823.1.4593493359620490298.rpms-kryoptic-47bb372f74bd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kryoptic
Branch : f44
Commit : 47bb372f74bd30d30999ff32aa8498aa275613a1
Author : Jakub Jelen <jjelen@redhat.com>
Date : 2026-05-07T18:05:15+02:00
Stats : +28/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kryoptic/c/47bb372f74bd30d30999ff32aa8498aa275613a1?branch=f44
Log:
Unbreak build on i686
---
diff --git a/kryoptic-i386.patch b/kryoptic-i386.patch
new file mode 100644
index 0000000..5d97f81
--- /dev/null
+++ b/kryoptic-i386.patch
@@ -0,0 +1,26 @@
+From a5195f65fe72a41f0db1ea0a361de2076da2cd46 Mon Sep 17 00:00:00 2001
+From: Jakub Jelen <jjelen@redhat.com>
+Date: Thu, 7 May 2026 17:34:40 +0200
+Subject: [PATCH] tools: Fix build on i686
+
+Signed-off-by: Jakub Jelen <jjelen@redhat.com>
+---
+ tools/profiles/conformance_lib/token_init.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/profiles/conformance_lib/token_init.rs b/tools/profiles/conformance_lib/token_init.rs
+index 117e790..0430850 100644
+--- a/tools/profiles/conformance_lib/token_init.rs
++++ b/tools/profiles/conformance_lib/token_init.rs
+@@ -300,7 +300,7 @@ pub fn init_token(args: &Arguments) -> Result<(), Box<dyn std::error::Error>> {
+ println!("PKCS#11 library initialized.");
+
+ let slot_id = if let Some(sid) = args.pkcs11_slot {
+- sid
++ sid as pkcs11::CK_ULONG
+ } else {
+ println!("No slot specified, finding first slot with a token...");
+ let num_slots = pkcs11.get_slot_list(pkcs11::CK_TRUE, None)?;
+--
+2.54.0
+
diff --git a/kryoptic.spec b/kryoptic.spec
index 8908e2c..56fefc7 100644
--- a/kryoptic.spec
+++ b/kryoptic.spec
@@ -35,6 +35,8 @@ Source2: https://people.redhat.com/~ssorce/simo_redhat.asc
%endif
# https://github.com/latchset/kryoptic/pull/439
Patch: kryoptic-1.5.0-asn1.patch
+# https://github.com/latchset/kryoptic/pull/452
+Patch: kryoptic-i386.patch
BuildRequires: cargo-rpm-macros >= 26
BuildRequires: openssl-devel
reply other threads:[~2026-06-05 19:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178068674823.1.4593493359620490298.rpms-kryoptic-47bb372f74bd@fedoraproject.org \
--to=jjelen@redhat.com \
--cc=git-commits@fedoraproject.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