mcrypt: patch to include stdlib.h instead of malloc.h to build on darwin

malloc.h is deprecated and the package does not compile on macOS due to this.
This commit is contained in:
Nima
2020-12-30 16:20:12 -08:00
parent ff97a25fc6
commit 3bf056aad3
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
./overflow_CVE-2012-4409.patch
./segv.patch
./sprintf_CVE-2012-4527.patch
./malloc_to_stdlib.patch
];
buildInputs = [ libmcrypt libmhash ];