public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/boinc-client] rawhide: Fix build with openssl 4.0
@ 2026-10-12 20:04 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-12 20:04 UTC (permalink / raw)
To: git-commits
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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 20:04 [rpms/boinc-client] rawhide: Fix build with openssl 4.0 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox