transgui: fix build with lazarus 4.0
This commit is contained in:
parent
4706af6e47
commit
3835d83786
@ -55,6 +55,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace restranslator.pas --replace /usr/ $out/
|
||||
|
||||
# Fix build with lazarus 4.0, https://github.com/transmission-remote-gui/transgui/issues/1486
|
||||
substituteInPlace main.pas --replace-warn "h <> INVALID_HANDLE_VALUE" "h >= 0"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user