Skip to content

Commit

Permalink
waifu2x-converter-cpp: Remove obsolete patch
Browse files Browse the repository at this point in the history
Upstream sets PNG to true since v5.3, so this is a no-op.
  • Loading branch information
reckenrode committed Aug 26, 2021
1 parent fab904f commit 4f5bc22
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkgs/tools/graphics/waifu2x-converter-cpp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4f5bc22

Please sign in to comment.