Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Re: luajit, arm64, games/love/0.10
To:
ports <ports@openbsd.org>, Omar Polo <op@omarpolo.com>, stu@spacehopper.org
Date:
Fri, 10 May 2024 09:44:42 -0400

Download raw body.

Thread
On Fri, May 10, 2024 at 11:31:54AM +0100, Stuart Henderson wrote:
> +cc op@, sorry I missed the maintainer line in ../Makefile.inc
> [ original mail: https://marc.info/?l=openbsd-ports&m=171528886832093&w=2 ]
> 
> On 2024/05/09 20:06, Thomas Frohwein wrote:
> > On Thu, May 09, 2024 at 10:09:39PM +0100, Stuart Henderson wrote:
> > 
> > [...]
> > 
> > > How useful is love/0.10, does it still make sense to keep it?
> > 
> > There are a couple of nice (commercial) games that run with love-0.10:
> > 
> > $ ls -1 0.10
> > blue-revolver
> > britebot
> > cityglitch
> > marvellous-inc
> > pocket-rumble
> > soulstice
> > spellrazor
> > 
> > From my side not a reason to keep aging version of luajit alive and I
> > would be ok with marking love/0.10 BROKEN to give a little time to see
> > if it can be patched up to work with the luajit update...
> > 
> 
> For the error I'm running into, it looks like it would be fixed by an
> update to newer luasocket, though the commit which updates it in the
> love2d tree is huge -
> https://github.com/love2d/love/commit/8885fc621dd01c3b8dfd1abf063785103d9daf15.patch
> - and doesn't directly apply to the version in 0.10.2 (and there's no
> 0.10 branch in their git repo so tracking down other needed commits is
> a bit awkward).
> 
> How much would it suck to disable the jit for this version as is
> already done for 0.8?

I've built it with your diff and ran a few that I could: orthorobot
from packages, as well as Britebot, Marvellous Inc., and Soulstice.
All run fine. This is on a high-end CPU (Intel Xeon W-11955M), so the
effect of not using the JIT may be more noticeable on lower end
hardware. But this is still all very niche, so I think disabling the
JIT is the right move. ok thfr@

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/games/love/0.10/Makefile,v
> diff -u -p -r1.2 Makefile
> --- Makefile	23 Jun 2023 17:35:54 -0000	1.2
> +++ Makefile	10 May 2024 10:22:57 -0000
> @@ -1,5 +1,6 @@
>  VERSION =		0.10.2
> -REVISION =		0
> +USE_LUAJIT =		No
> +REVISION =		1
>  
>  SHARED_LIBS=		love-${VERSION}	0.0
>