public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/boinc-client] rawhide: Fix build with openssl 4.0
Date: Mon, 12 Oct 2026 20:04:58 GMT [thread overview]
Message-ID: <179183549819.1.15217496734932526663.rpms-boinc-client-5e589b1b135e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/boinc-client
Branch : rawhide
Commit : 5e589b1b135e66b34bc548845e69ffb45eddd02b
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-12T16:04:50-04:00
Stats : +20/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/boinc-client/c/5e589b1b135e66b34bc548845e69ffb45eddd02b?branch=rawhide
Log:
Fix build with openssl 4.0
---
diff --git a/boinc-client.spec b/boinc-client.spec
index c043b5c..2d86be9 100644
--- a/boinc-client.spec
+++ b/boinc-client.spec
@@ -37,9 +37,7 @@ SOURCE1: boinc-client-logrotate-d
SOURCE3: 36x11-common_xhost-boinc
SOURCE4: config.properties
SOURCE5: edu.berkeley.BOINC.metainfo.xml
-%if 0%{?fedora} > 35
-#Patch0: openssl3.patch
-%endif
+Patch0: openssl4.patch
Patch1: disable_idle_time_detection.patch
# On Linux distributions, BOINC runs as a service. Users must not be able to
# try stopping the service from exit menu entry.
@@ -78,7 +76,7 @@ BuildRequires: libXScrnSaver-devel
%endif
BuildRequires: mesa-libGLU-devel
BuildRequires: pkgconfig(openssl)
-%if %{defined fedora} && 0%{?fedora} > 40
+%if %{defined fedora} && 0%{?fedora} > 40 && 0%{?fedora} < 45
# https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
#
# We have raised the possibility of removing OpenSSL engine support upstream:
diff --git a/openssl4.patch b/openssl4.patch
new file mode 100644
index 0000000..c7b3282
--- /dev/null
+++ b/openssl4.patch
@@ -0,0 +1,18 @@
+Backport of commit 9cdcef8261be4891b4814c6f728dcee65027e5da
+"Adapt code to fix a build failure with openssl-4.0"
+
+---
+ lib/crypt.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/lib/crypt.cpp
++++ b/lib/crypt.cpp
+@@ -774,7 +774,7 @@ int cert_verify_file(
+ DATA_BLOCK sig_db;
+ BIO *bio;
+ X509 *cert;
+- X509_NAME *subj;
++ const X509_NAME *subj;
+
+ if (signatures->signatures.size() == 0) {
+ printf("No signatures available for file ('%s').\n", origFile);
reply other threads:[~2026-10-12 20:04 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=179183549819.1.15217496734932526663.rpms-boinc-client-5e589b1b135e@fedoraproject.org \
--to=yselkowi@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