Revert "libjpeg_turbo: apply cmake patch for darwin"

cmake is now on 3.19.2 solving the bug that required this patch.

This reverts commit 5524c43f2c.
This commit is contained in:
Frederik Rietdijk 2020-12-30 10:46:35 +01:00 committed by Frederik Rietdijk
parent 056304189c
commit 027c952090

View File

@ -14509,18 +14509,7 @@ in
libjpeg_original = callPackage ../development/libraries/libjpeg { };
# also known as libturbojpeg
libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo (lib.optionalAttrs stdenv.isDarwin {
# cmake 3.19.1 has a bug. So far only noticed with this package.
# https://github.com/NixOS/nixpkgs/issues/105854
cmake = cmake.overrideAttrs(oldAttrs: {
patches = oldAttrs.patches ++ [
(fetchpatch {
url = "https://gitlab.kitware.com/cmake/cmake/-/commit/fcabf4a47e0c441ff80fad8f34e388b16738bd33.patch";
sha256 = "bVrjY8omtAEKe8G76hGtmO54LKJvhx3RTW6OF6Y7rsU=";
})
];
});
});
libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo { };
libjpeg = libjpeg_turbo;
libjreen = callPackage ../development/libraries/libjreen { };