kdiff3: fix build

+5 -1
+5 -1
pkgs/tools/text/kdiff3/default.nix
··· 16 inherit rev; 17 }; 18 19 - preConfigure = "cd kdiff3"; 20 21 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22
··· 16 inherit rev; 17 }; 18 19 + setSourceRoot = ''sourceRoot="$(echo */kdiff3/)"''; 20 + 21 + postPatch = '' 22 + sed -re "s/(p\\[[^]]+] *== *)('([^']|\\\\')+')/\\1QChar(\\2)/g" -i src/diff.cpp 23 + ''; 24 25 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 26