Skip to content

Commit

Permalink
mbedtls_2: fix transposed calloc args (#361955)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 9, 2024
2 parents 753a4e9 + 4e8e135 commit 70702be
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/development/libraries/mbedtls/2.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{ callPackage }:
{ callPackage, fetchpatch }:

callPackage ./generic.nix {
version = "2.28.9";
hash = "sha256-/Bm05CvS9t7WSh4qoMconCaD7frlmA/H9YDyJOuGuFE=";
patches = [
# https://github.com/Mbed-TLS/mbedtls/pull/9529
# switch args to calloc in test macro to fix build with gcc-14
(fetchpatch {
name = "gcc-14-fixes.patch";
url = "https://github.com/Mbed-TLS/mbedtls/commit/990a88cd53d40ff42481a2c200b05f656507f326.patch";
hash = "sha256-Ki8xjm4tbzLZGNUr4hRbf+dlp05ejvl44ddroWJZY4w=";
})
];
}

0 comments on commit 70702be

Please sign in to comment.