welcome waitid(2) bye bye hack

This commit is contained in:
rsadowski 2022-11-13 20:18:42 +00:00
parent c1d7f4ba99
commit 3a5c1e9043
2 changed files with 1 additions and 19 deletions

View File

@ -12,7 +12,7 @@ PKGNAME-global = qt5-global-${VERSION}
PKGNAME-psql = qt5-postgresql-${VERSION}
PKGNAME-tds = qt5-tds-${VERSION}
REVISION-main = 1
REVISION-main = 2
PKG_ARCH-global = *
PKG_ARCH-examples = *

View File

@ -1,18 +0,0 @@
XXX Unbreak Build for now
Index: src/3rdparty/forkfd/forkfd.c
--- src/3rdparty/forkfd/forkfd.c.orig
+++ src/3rdparty/forkfd/forkfd.c
@@ -242,9 +242,9 @@ static void convertStatusToForkfdInfo(int status, stru
static int convertForkfdWaitFlagsToWaitFlags(int ffdoptions)
{
- int woptions = WEXITED;
- if (ffdoptions & FFDW_NOWAIT)
- woptions |= WNOWAIT;
+ int woptions = WNOHANG;
+ //if (ffdoptions & FFDW_NOWAIT)
+ // woptions |= WNOWAIT;
if (ffdoptions & FFDW_NOHANG)
woptions |= WNOHANG;
return woptions;