commit: ccbc027a9ab6b69d9252f5fb535fdea84a963017 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Sat Sep 19 04:46:01 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Sat Sep 19 04:46:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbc027a
dev-java/openjfx: add sysctl.h patch Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> ...kager-don-t-include-obsolete-sys-sysctl.h.patch | 24 ++++++++++++++++++++++ dev-java/openjfx/openjfx-8.202.ebuild | 1 + 2 files changed, 25 insertions(+) diff --git a/dev-java/openjfx/files/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch b/dev-java/openjfx/files/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch new file mode 100644 index 00000000000..a01dd05494f --- /dev/null +++ b/dev-java/openjfx/files/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch @@ -0,0 +1,24 @@ +From 26d59b7c8cc2b40277756f55387606ba8a852b31 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <[email protected]> +Date: Fri, 18 Sep 2020 21:43:57 -0700 +Subject: [PATCH] fxpackager: don't include obsolete sys/sysctl.h + +--- + .../fxpackager/src/main/native/library/common/PosixPlatform.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp b/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp +index 5ea3bc6..b5d167b 100644 +--- a/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp ++++ b/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp +@@ -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> +-- +2.28.0 + diff --git a/dev-java/openjfx/openjfx-8.202.ebuild b/dev-java/openjfx/openjfx-8.202.ebuild index 14586e69d95..75fd19046cc 100644 --- a/dev-java/openjfx/openjfx-8.202.ebuild +++ b/dev-java/openjfx/openjfx-8.202.ebuild @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}"/8/10-javadoc-locale.patch "${FILESDIR}"/8/Wno-error.patch "${FILESDIR}"/8/0001-don-t-force-msse.patch + "${FILESDIR}"/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch ) egradle() {
