File openjfx-wait.patch of Package java-1_8_0-openjdk-openjfx

--- rt-8u141-b14/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	2017-06-13 18:28:39.000000000 +0200
+++ rt-8u141-b14/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	2017-09-21 11:10:12.890450044 +0200
@@ -41,6 +41,7 @@
 #include <assert.h>
 #include <stdbool.h>
 #include <sys/types.h>
+#include <sys/wait.h>
 #include <unistd.h>
 #include <sys/sysctl.h>
 #include <iostream>
@@ -231,10 +232,7 @@
     pid_t wpid;
 
     //TODO Use waitpid instead of wait
-#ifdef LINUX
-    wait();
-#endif
-#ifdef MAC
+#if defined(LINUX) || defined(MAC)
     wpid = wait(&status);
 #endif