From 213ee34f03d70e0e31c93f29aed0bfe0648c63ed Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 6 Oct 2026 18:20:09 +0200 Subject: [PATCH] package/boinc: fix build with OpenSSL 4.0.0 Signed-off-by: Bernd Kuhls Cc: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- ...fix-a-build-failure-with-openssl-4.0.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch diff --git a/package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch b/package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch new file mode 100644 index 0000000000..22e2ef65a7 --- /dev/null +++ b/package/boinc/0001-Adapt-code-to-fix-a-build-failure-with-openssl-4.0.patch @@ -0,0 +1,26 @@ +From 9cdcef8261be4891b4814c6f728dcee65027e5da Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna +Date: Wed, 26 Aug 2026 12:27:54 +0200 +Subject: [PATCH] Adapt code to fix a build failure with openssl-4.0 + +Upstream: https://github.com/BOINC/boinc/commit/9cdcef8261be4891b4814c6f728dcee65027e5da + +[Bernd: backported to 8.2.15] +Signed-off-by: Bernd Kuhls +--- + lib/crypt.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/crypt.cpp b/lib/crypt.cpp +index 17a9b57b3eb..b54e2f050ad 100644 +--- a/lib/crypt.cpp ++++ b/lib/crypt.cpp +@@ -774,7 +774,7 @@ + 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);