commit: 4346cb05330d5fa6efbdb89ea5346b60694c318c Author: Leah <leah <AT> realfx <DOT> rocks> AuthorDate: Tue Feb 3 13:03:10 2026 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Tue Feb 3 20:42:22 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4346cb05
games-action/prismlauncher: Remove flatpak chunk After prismlauncher 10.0.3, the flatpak/ directory doesn't exist. This commit makes the patch not touch the flatpak/ directory, since it fails to patch with that chunk in the patch. Upstream commit: 3833b1e292319aebdbdebfcec24b4c105f578c3f Signed-off-by: Leah <leah <AT> realfx.rocks> Part-of: https://github.com/gentoo/gentoo/pull/45613 Closes: https://github.com/gentoo/gentoo/pull/45613 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> .../files/prismlauncher-10.0.3-openjdk21.patch | 31 ++++++++++++++++++++++ .../prismlauncher/prismlauncher-9999.ebuild | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/games-action/prismlauncher/files/prismlauncher-10.0.3-openjdk21.patch b/games-action/prismlauncher/files/prismlauncher-10.0.3-openjdk21.patch new file mode 100644 index 000000000000..58151c1ce0b3 --- /dev/null +++ b/games-action/prismlauncher/files/prismlauncher-10.0.3-openjdk21.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/917072 +--- a/libraries/launcher/CMakeLists.txt ++++ b/libraries/launcher/CMakeLists.txt +@@ -1,10 +1,10 @@ + cmake_minimum_required(VERSION 3.9.4) + project(launcher Java) +-find_package(Java 1.7 REQUIRED COMPONENTS Development) ++find_package(Java 1.8 REQUIRED COMPONENTS Development) + + include(UseJava) + set(CMAKE_JAVA_JAR_ENTRY_POINT org.prismlauncher.EntryPoint) +-set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7) ++set(CMAKE_JAVA_COMPILE_FLAGS -target 8 -source 8) + + set(SRC + org/prismlauncher/EntryPoint.java +--- a/libraries/javacheck/CMakeLists.txt ++++ b/libraries/javacheck/CMakeLists.txt +@@ -1,10 +1,10 @@ + cmake_minimum_required(VERSION 3.9.4) + project(launcher Java) +-find_package(Java 1.7 REQUIRED COMPONENTS Development) ++find_package(Java 1.8 REQUIRED COMPONENTS Development) + + include(UseJava) + set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck) +-set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7 -Xlint:deprecation -Xlint:unchecked) ++set(CMAKE_JAVA_COMPILE_FLAGS -target 8 -source 8 -Xlint:deprecation -Xlint:unchecked) + + set(SRC + JavaCheck.java diff --git a/games-action/prismlauncher/prismlauncher-9999.ebuild b/games-action/prismlauncher/prismlauncher-9999.ebuild index 4069a0a63898..c0f0e0663d28 100644 --- a/games-action/prismlauncher/prismlauncher-9999.ebuild +++ b/games-action/prismlauncher/prismlauncher-9999.ebuild @@ -82,7 +82,7 @@ src_prepare() { elog elog "If you experience any problems, install an older java compiler" elog "and select it with \"eselect java\", then recompile ${PN}." - eapply "${FILESDIR}/${PN}-9.1-openjdk21.patch" + eapply "${FILESDIR}/${PN}-10.0.3-openjdk21.patch" fi }
