diff options
author | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
---|---|---|
committer | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
commit | 35e44a32786ddd1cc146aee015874fd7ae63820e (patch) | |
tree | fab5ed58f2b36a5e432c2b6348be7cfb91a9dab0 /0000-Fix-wait-call-in-PosixPlatform.patch | |
download | openjfx8-fork-master.tar.gz openjfx8-fork-master.tar.xz openjfx8-fork-master.zip |
Diffstat (limited to '0000-Fix-wait-call-in-PosixPlatform.patch')
-rw-r--r-- | 0000-Fix-wait-call-in-PosixPlatform.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0000-Fix-wait-call-in-PosixPlatform.patch b/0000-Fix-wait-call-in-PosixPlatform.patch new file mode 100644 index 0000000..f841095 --- /dev/null +++ b/0000-Fix-wait-call-in-PosixPlatform.patch @@ -0,0 +1,22 @@ +--- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-10-29 16:26:04.000000000 +0100 ++++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp 2018-11-27 15:34:52.170181958 +0100 +@@ -43,7 +43,6 @@ + #include <sys/types.h> + #include <sys/wait.h> + #include <unistd.h> +-#include <sys/sysctl.h> + #include <iostream> + #include <dlfcn.h> + #include <signal.h> +@@ -232,10 +231,7 @@ + pid_t wpid = 0; + + //TODO Use waitpid instead of wait +-#ifdef LINUX +- wait(&status); +-#endif +-#ifdef MAC ++#if defined(LINUX) || defined(MAC) + wpid = wait(&status); + #endif + |