Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Re: games/lwjgl: use jdk-11, need indierunner tests
To:
Kurt Miller <kurt@intricatesoftware.com>
Cc:
ports@openbsd.org, thfr@openbsd.org
Date:
Tue, 23 Dec 2025 23:44:11 -0800

Download raw body.

Thread
On Fri, 19 Dec 2025 15:32:06 +0000
Kurt Miller <kurt@intricatesoftware.com> wrote:

> On Dec 19, 2025, at 9:44 AM, Thomas Frohwein <tfrohwein@fastmail.com>
> wrote:
> > 
> > On Thu, 18 Dec 2025 23:09:51 +0000
> > Kurt Miller <kurt@intricatesoftware.com> wrote:
> >   
> >> I found a github fork that added jdk 11 build support for Linux, so
> >> I adadapted that to work for us. Here's that commit:
> >> 
> >> https://github.com/MeFisto94/lwjgl/commit/72e97f53f7d256bc90e397e946054fcbe764c203
> >> 
> >> I updated games/minecraft to use jdk 11 as well and can launch to
> >> the login screen, but I think games/minecraft is dead - TBD.
> >> 
> >> So I need people who use games/indiegames and have lwjgl based
> >> games to give this a test run. Not sure I will be able to fix
> >> any problems, but it would be nice to know if anything works.  
> > 
> > I will do that, due to $dayjob and volume of games supported by
> > indierunner, I'll report back within the next 7 days
> >   
> 
> Thank you.
> 
> This might help, from:
> https://github.com/IndieRunner/IndieRunner/blob/main/share/Status-Tracker.md
> 
> LWJGL2 Games:
> 	Droid Assault
> 	Revenge of the Titans
> 	Rise to Ruins
> 	Titan Attacks!
> 	Ultratron
> 
> -Kurt

Tested them and some LibGDX games that aren't in your selection that
also use LWJGL2. No errors or regressions. Didn't test Rise to Ruins
because this would need a port of steamworks4j.

FYI in order to apply your patches, I had to add:

FIX_CRLF_FILES =        src/native/common/org_lwjgl_BufferUtils.c \
                        src/native/common/org_lwjgl_opencl_CallbackUtil.c \
                        platform_build/build-generator.xml

From my side ok thfr@ for the lwjgl diff with the FIX_CRLF_FILES
added...