ranch X-Git-Commit: 4530eafbd6ff99fd47899d3a616c6ab48f0d288e Auto-Submitted: auto-generated Date: Mon, 04 May 2026 07:43:46 +0000 Message-Id: <69f84e32.43652.4dcf669a@gitrepo.freebsd.org> The branch main has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=4530eafbd6ff99fd47899d3a616c6ab48f0d288e commit 4530eafbd6ff99fd47899d3a616c6ab48f0d288e Author: Kirill Ponomarev AuthorDate: 2026-05-04 07:43:09 +0000 Commit: Kirill Ponomarev 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;