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);