nixpkgs/pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch
2017-12-20 12:41:39 -04:00

23 lines
571 B
Diff

diff --git a/utils.pas b/utils.pas
index eb8b828..1ff2440 100644
--- a/utils.pas
+++ b/utils.pas
@@ -100,7 +100,7 @@ uses
{$ifdef CALLSTACK}
lineinfo2,
{$endif CALLSTACK}
- LazFileUtils, LazUtf8, StdCtrls, Graphics;
+ LazFileUtils, LazUtf8, StdCtrls, Graphics, FileUtil;
{$ifdef windows}
function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle;
@@ -235,7 +235,7 @@ end;
function ParamStrUTF8(Param: Integer): utf8string;
begin
- Result:=FileUtil.ParamStrUTF8(Param);
+ Result:=ParamStrUTF8(Param);
end;
function ParamCount: integer;