From ebf59d332d795aacbe08f922043e3bca686cdd7d Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 22 Oct 2022 20:24:45 -0400 Subject: [PATCH] PrismLauncher: add note about musl/LWJGL compatibility source: https://git.alpinelinux.org/aports/tree/community/prismlauncher/prismlauncher.post-install --- srcpkgs/PrismLauncher/files/README.voidlinux | 8 ++++++++ srcpkgs/PrismLauncher/template | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/srcpkgs/PrismLauncher/files/README.voidlinux b/srcpkgs/PrismLauncher/files/README.voidlinux index 40f8f4bce81..9d91fd69f14 100644 --- a/srcpkgs/PrismLauncher/files/README.voidlinux +++ b/srcpkgs/PrismLauncher/files/README.voidlinux @@ -7,3 +7,11 @@ and for older ones openjdk8-jre. If you get an error message that includes "org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes", you may need to install xrandr. + +Currently LWJGL 3.3.1 on musl does not work due to weird behavior in how +it's linked against glibc, which causes a crash when launching some versions +of the game; in order to play these versions: + +1. Open your instance's settings by right clicking it and selecting "Edit". +2. Go to the "Versions" tab and select LWJGL in the list. +3. Click on "Set version" on the right side of the screen and choose 3.2.2. diff --git a/srcpkgs/PrismLauncher/template b/srcpkgs/PrismLauncher/template index d5dfecff0a4..213cc240bed 100644 --- a/srcpkgs/PrismLauncher/template +++ b/srcpkgs/PrismLauncher/template @@ -1,7 +1,7 @@ # Template file for 'PrismLauncher' pkgname=PrismLauncher version=5.0 -revision=1 +revision=2 build_style=cmake configure_args="-DLauncher_BUILD_PLATFORM=Void" hostmakedepends="extra-cmake-modules openjdk8 pkg-config qt5-host-tools