c8846356e7
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)
11 lines
395 B
ObjectPascal
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
|