https://github.com/python/cpython/commit/f8f7500168c94330e094aebfa38798d949466328
commit: f8f7500168c94330e094aebfa38798d949466328
branch: main
author: Furkan Onder <[email protected]>
committer: vstinner <[email protected]>
date: 2024-09-06T00:09:04Z
summary:
gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0
(#123719)
Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c.
files:
M Misc/sbom.spdx.json
M Modules/_hacl/Lib_Memzero0.c
diff --git a/Misc/sbom.spdx.json b/Misc/sbom.spdx.json
index 1013c0ad6f1696..05647c1fe417b8 100644
--- a/Misc/sbom.spdx.json
+++ b/Misc/sbom.spdx.json
@@ -538,11 +538,11 @@
"checksums": [
{
"algorithm": "SHA1",
- "checksumValue": "e52071a35fc1893928804fe91b098ad5682c2508"
+ "checksumValue": "47ce34375d43a27312e1fffb96b8965610b05855"
},
{
"algorithm": "SHA256",
- "checksumValue":
"c4424a4851cd2d4f27633ca19faf5cb1135a680443727a8d1b134737f9a71e62"
+ "checksumValue":
"8affd767d7644150064d8bccd05d7bf4c4ae41fd4bb5bf5b8e943eabf09f3d74"
}
],
"fileName": "Modules/_hacl/Lib_Memzero0.c"
diff --git a/Modules/_hacl/Lib_Memzero0.c b/Modules/_hacl/Lib_Memzero0.c
index 3d8a1e5f265605..5b1a2f7797db76 100644
--- a/Modules/_hacl/Lib_Memzero0.c
+++ b/Modules/_hacl/Lib_Memzero0.c
@@ -13,7 +13,7 @@
#include <string.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <strings.h>
#endif
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]