mbedtls: restore patch to fix build on aarch64

Still necessary on aarch64.

K900 3a115015 432f9792

Changed files
+12
pkgs
development
libraries
mbedtls
+12
pkgs/development/libraries/mbedtls/3.nix
···
callPackage ./generic.nix {
version = "3.6.4";
hash = "sha256-y5YqKtjW4IXyIZkoJvwCGC4scx0qdeV40rynHza4NUE=";
+
+
patches = [
+
# Fixes the build with GCC 14 on aarch64.
+
#
+
# See:
+
# * <https://github.com/openwrt/openwrt/pull/15479>
+
# * <https://github.com/Mbed-TLS/mbedtls/issues/9003>
+
(fetchurl {
+
url = "https://raw.githubusercontent.com/openwrt/openwrt/52b6c9247997e51a97f13bb9e94749bc34e2d52e/package/libs/mbedtls/patches/100-fix-gcc14-build.patch";
+
hash = "sha256-20bxGoUHkrOEungN3SamYKNgj95pM8IjbisNRh68Wlw=";
+
})
+
];
}