Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2026 07:43:46 +0000
Message-ID:  <69f84e32.43652.4dcf669a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4530eafbd6ff99fd47899d3a616c6ab48f0d288e

commit 4530eafbd6ff99fd47899d3a616c6ab48f0d288e
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2026-05-04 07:43:09 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2026-05-04 07:43:41 +0000

    security/libdecaf: Fix build on CURRENT
---
 security/libdecaf/files/patch-src_spongerng.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/security/libdecaf/files/patch-src_spongerng.c b/security/libdecaf/files/patch-src_spongerng.c
new file mode 100644
index 000000000000..aeffec91f19e
--- /dev/null
+++ b/security/libdecaf/files/patch-src_spongerng.c
@@ -0,0 +1,20 @@
+--- src/spongerng.c.orig	2026-05-04 07:41:21 UTC
++++ src/spongerng.c
+@@ -122,7 +122,7 @@ void decaf_spongerng_next (
+     decaf_sha3_update(prng->sponge,lenx,sizeof(lenx));
+     decaf_sha3_output(prng->sponge,out,len);
+     
+-    const uint8_t nope;
++    const uint8_t nope = 0;
+     decaf_spongerng_stir(prng,&nope,0);
+ }
+ 
+@@ -204,7 +204,7 @@ decaf_error_t decaf_spongerng_init_from_file (
+ #if defined _MSC_VER
+     }
+ #endif /* _MSC_VER */
+-    const uint8_t nope;
++    const uint8_t nope = 0;
+     decaf_spongerng_stir(prng,&nope,0);
+     
+     return DECAF_SUCCESS;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f84e32.43652.4dcf669a>