aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/doublecmd
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-03-07 14:14:29 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-03-07 14:14:29 +0000
commitc8846356e7820f092de271444642763b49002f8c (patch)
treecb2f228fedb04f8c7634a1d447b404d0fe71b1ca /x11-fm/doublecmd
parentb4d96c1918bdcfbd92f3dbf9e4f35bf50f5bb0b6 (diff)
downloadports-c8846356e7820f092de271444642763b49002f8c.tar.gz
ports-c8846356e7820f092de271444642763b49002f8c.zip
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)
Notes
Notes: svn path=/head/; revision=527948
Diffstat (limited to 'x11-fm/doublecmd')
-rw-r--r--x11-fm/doublecmd/files/patch-src_platform_unix_upollthread.pas11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/doublecmd/files/patch-src_platform_unix_upollthread.pas b/x11-fm/doublecmd/files/patch-src_platform_unix_upollthread.pas
new file mode 100644
index 000000000000..d7ec77137bdf
--- /dev/null
+++ b/x11-fm/doublecmd/files/patch-src_platform_unix_upollthread.pas
@@ -0,0 +1,11 @@
+--- 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