mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
kdiff3: fix build
This commit is contained in:
parent
e16c5a8254
commit
8565047bdd
|
@ -16,7 +16,11 @@ let
|
|||
inherit rev;
|
||||
};
|
||||
|
||||
preConfigure = "cd kdiff3";
|
||||
setSourceRoot = ''sourceRoot="$(echo */kdiff3/)"'';
|
||||
|
||||
postPatch = ''
|
||||
sed -re "s/(p\\[[^]]+] *== *)('([^']|\\\\')+')/\\1QChar(\\2)/g" -i src/diff.cpp
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue