summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-10-09 23:58:44 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-10-09 23:59:40 +0200
commite3cf91a73f24a075c2320e1cb744dbff27ff17ab (patch)
tree036070125c3f64bddd63956f8cdb152416e45bb7 /net-wireless
parentmedia-libs/libplacebo: Keyword 6.338.0 arm64, #915501 (diff)
downloadgentoo-e3cf91a73f24a075c2320e1cb744dbff27ff17ab.tar.gz
gentoo-e3cf91a73f24a075c2320e1cb744dbff27ff17ab.tar.bz2
gentoo-e3cf91a73f24a075c2320e1cb744dbff27ff17ab.zip
net-wireless/unifi: add needed java opts
Closes: https://bugs.gentoo.org/915126 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/unifi/unifi-7.5.176-r1.ebuild (renamed from net-wireless/unifi/unifi-7.5.176.ebuild)8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-wireless/unifi/unifi-7.5.176.ebuild b/net-wireless/unifi/unifi-7.5.176-r1.ebuild
index 71fa8a6c36b9..f026fe76bc2d 100644
--- a/net-wireless/unifi/unifi-7.5.176.ebuild
+++ b/net-wireless/unifi/unifi-7.5.176-r1.ebuild
@@ -75,7 +75,13 @@ src_install() {
java-pkg_regjar "${D}"/usr/lib/unifi/lib/*.jar
java-pkg_dolauncher \
unifi \
- --java_args '-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp -Djava.library.path=' \
+ --java_args '-Dorg.xerial.snappy.tempdir=/usr/lib/unifi/tmp \
+ -Djava.library.path= \
+ --add-opens java.base/java.lang=ALL-UNNAMED \
+ --add-opens java.base/java.time=ALL-UNNAMED \
+ --add-opens java.base/sun.security.util=ALL-UNNAMED \
+ --add-opens java.base/java.io=ALL-UNNAMED \
+ --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED' \
--jar ace.jar \
--pwd '/usr/lib/unifi'