waifu2x-converter-cpp: Remove obsolete patch

Upstream sets PNG to true since v5.3, so this is a no-op.
This commit is contained in:
Randy Eckenrode 2021-08-25 09:18:11 -04:00
parent fab904ffa4
commit 4f5bc22ad7
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -13,11 +13,6 @@ stdenv.mkDerivation rec {
sha256 = "0rv8bnyxz89za6gwk9gmdbaf3j7c1j52mip7h81rir288j35m84x";
};
patchPhase = ''
# https://github.com/DeadSix27/waifu2x-converter-cpp/issues/123
sed -i 's:{"PNG", false},:{"PNG", true},:' src/main.cpp
'';
buildInputs = [
ocl-icd opencv3 opencl-headers
] ++ lib.optional cudaSupport cudatoolkit;