freebsd-ports/x11-fm/doublecmd/files/patch-src_platform_unix_upollthread.pas
Tobias C. Berner c8846356e7 x11-fm/doublecmd: fix build
After recent changes to lang/fpc port, x11-fm/doublecmd is failing to build.
FpPipe() function now requires 2 parameters instead of one.

The attached patch fixes it.

PR:		244655
Submitted by:	Beñat Gonzalez Etxepare <bbtruk@users.sourceforge.net>  (maintainer)
2020-03-07 14:14:29 +00:00

11 lines
395 B
ObjectPascal

--- src/platform/unix/upollthread.pas.orig 2019-12-08 11:40:55 UTC
+++ src/platform/unix/upollthread.pas
@@ -161,7 +161,7 @@ begin
// Create pipe for user triggered fake event
FEventPipe[0] := -1;
FEventPipe[1] := -1;
- if fpPipe(FEventPipe) < 0 then
+ if fpPipe(FEventPipe, 0) < 0 then
Print(SysErrorMessage(fpGetErrNo))
else begin
// Set both ends of pipe non blocking