summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-18 21:46:01 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-18 21:46:01 -0700
commitccbc027a9ab6b69d9252f5fb535fdea84a963017 (patch)
tree70342f56e1012326142689bd0af2df3150788fab /dev-java
parentdev-java/openjfx: add missing msse2 patch, and remove unused (diff)
downloadgentoo-ccbc027a9ab6b69d9252f5fb535fdea84a963017.tar.gz
gentoo-ccbc027a9ab6b69d9252f5fb535fdea84a963017.tar.bz2
gentoo-ccbc027a9ab6b69d9252f5fb535fdea84a963017.zip
dev-java/openjfx: add sysctl.h patch
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjfx/files/8/fxpackager-don-t-include-obsolete-sys-sysctl.h.patch24
-rw-r--r--dev-java/openjfx/openjfx-8.202.ebuild1
2 files changed, 25 insertions, 0 deletions
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 000000000000..a01dd05494fe
--- /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 <gyakovlev@gentoo.org>
+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 14586e69d952..75fd19046ccb 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() {