dev-util/idea-community: Remove patch causing breakage setting JRE

Closes: https://bugs.gentoo.org/892253

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
Mike Pagano
2023-01-28 18:40:58 -05:00
parent 366a5ca523
commit ffb2ede063
2 changed files with 0 additions and 15 deletions
@@ -1,11 +0,0 @@
--- a/bin/idea.sh 2021-04-29 14:52:57.173162184 -0400
+++ b/bin/idea.sh 2021-04-29 14:54:40.733748978 -0400
@@ -52,6 +52,8 @@ PATHS_SELECTOR="IdeaIC2021.1"
# shellcheck disable=SC2154
if [ -n "$IDEA_JDK" ] && [ -x "$IDEA_JDK/bin/java" ]; then
JRE="$IDEA_JDK"
+else
+ JRE="/opt/openjdk-bin-17" && [[ -d "/opt/openjdk-17" ]] && JRE="/usr/lib64/openjdk-bin-17"
fi
BITS=""
@@ -35,10 +35,6 @@ S="${WORKDIR}/idea-IC-${PV}"
QA_PREBUILT="opt/${PN}/*"
PATCHES=(
"${FILESDIR}/${PN}-jdk.patch"
)
src_unpack() {
default_src_unpack