pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/mbedtls4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 22 22:46:06 UTC 2026

Modified Files:
        pkgsrc/security/mbedtls4: distinfo
Added Files:
        pkgsrc/security/mbedtls4/patches:
            patch-tf-psa-crypto_drivers_builtin_src_platform__util.c

Log Message:
mbedtls4: fix build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/mbedtls4/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/mbedtls4/patches/patch-tf-psa-crypto_drivers_builtin_src_platform__util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/mbedtls4/distinfo
diff -u pkgsrc/security/mbedtls4/distinfo:1.1 pkgsrc/security/mbedtls4/distinfo:1.2
--- pkgsrc/security/mbedtls4/distinfo:1.1       Thu Jan 22 19:29:11 2026
+++ pkgsrc/security/mbedtls4/distinfo   Thu Jan 22 22:46:06 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2026/01/22 19:29:11 js Exp $
+$NetBSD: distinfo,v 1.2 2026/01/22 22:46:06 wiz Exp $
 
 BLAKE2s (mbedtls-4.0.0.tar.bz2) = d7a973c6eefab652e590f680612b644a6d0c6f1c0d0f7d0d69dc01278620dc66
 SHA512 (mbedtls-4.0.0.tar.bz2) = cc62c99a82f2f85ee4caa6488804648e81358e59f1498b6a97b034114e531bf44b05ae3d50db797ada939b6d4ac90bde29cd2363a36631af9e5fdfef57bfb267
 Size (mbedtls-4.0.0.tar.bz2) = 6342607 bytes
+SHA1 (patch-tf-psa-crypto_drivers_builtin_src_platform__util.c) = d78b596fe6a4bf0d5fe37527496389cf38f6defc

Added files:

Index: pkgsrc/security/mbedtls4/patches/patch-tf-psa-crypto_drivers_builtin_src_platform__util.c
diff -u /dev/null pkgsrc/security/mbedtls4/patches/patch-tf-psa-crypto_drivers_builtin_src_platform__util.c:1.1
--- /dev/null   Thu Jan 22 22:46:06 2026
+++ pkgsrc/security/mbedtls4/patches/patch-tf-psa-crypto_drivers_builtin_src_platform__util.c   Thu Jan 22 22:46:06 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-tf-psa-crypto_drivers_builtin_src_platform__util.c,v 1.1 2026/01/22 22:46:06 wiz Exp $
+
+Fix build on NetBSD.
+
+--- tf-psa-crypto/drivers/builtin/src/platform_util.c.orig     2026-01-22 22:43:49.391669440 +0000
++++ tf-psa-crypto/drivers/builtin/src/platform_util.c
+@@ -11,7 +11,7 @@
+  * mbedtls_config.h, which pulls in glibc's features.h. Harmless on other platforms
+  * except OpenBSD, where it stops us accessing explicit_bzero.
+  */
+-#if !defined(_POSIX_C_SOURCE) && !defined(__OpenBSD__)
++#if !defined(_POSIX_C_SOURCE) && !defined(__OpenBSD__) && !defined(__NetBSD__)
+ #define _POSIX_C_SOURCE 200112L
+ #endif
+ 



Home | Main Index | Thread Index | Old Index