Index | Thread | Search

From:
izder456 <izder456@disroot.org>
Subject:
Re: UPDATE: games/minetest to 5.8.0
To:
ports@openbsd.org
Cc:
Fabien ROMANO <fabienromano@gmail.com>
Date:
Thu, 04 Apr 2024 22:47:29 +0200

Download raw body.

Thread
On 2024-03-09 22:00, izder456 wrote:
> On Tue, 5 Mar 2024 23:08:04 +0100
> Fabien ROMANO <fabienromano@gmail.com> wrote:
> 
>> Hi izder,
>> 
>> On 04/03/2024 17:58, izder456 wrote:
>> > Hello ports@,
>> >
>> > Attached is a tarball of the update.
>> >
>> > I took a line from FreeBSD's port system for gmp stuff, as we can
>> > also use system gmp fine. I also patched a file so `getpid()` is
>> > properly referenced from `unistd.h`. May be good to PR this patch
>> > upstream?
>> >
>> > This port seems rather-ish complex, so I didn't do the DIST_TUPLE
>> > stuff as I am no expert.
>> >
>> > OK to merge?
>> >
>> 
>> There is what I have done on my side, feel free to use at your own.
>> Not sure about gmp stuff from freebsd.
>> It was weeks ago and I ran into grahic card issue so I did not test
>> again.
>> 
>> I also added patches from lang/lua to the build (not needed ?)
>> 
>> [diff]
>> 
> 
> Thanks for the lang/lua stuff, I needed to use -DENABLE_LUAJIT=FALSE in
> the CONFIGURE_ARGS without them. Looks like the default
> -DENABLE_LUAJIT=TRUE works fine here, just needed a little patching.
> (CMake complains a little, but eh, whatevs)
> 
> I also swapped the DISTFILES to DIST_TUPLE here for simplicity's sake.
> Thanks for the lang/lua tips.
> 
> attached is the diff with the above changes.
> 
> OK?

I am still looking to upgrade these. OK to merge?