Files
gentoo/dev-java/openjfx/files/8/0000-Fix-wait-call-in-PosixPlatform.patch
2024-07-05 10:27:32 +02:00

15 lines
389 B
Diff

--- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
+++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
@@ -232,10 +232,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