Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 2024 12:10:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277869] games/eduke32: build failure for 20240316
Message-ID:  <bug-277869-7788-SO23SzAbtp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277869-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277869-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277869

--- Comment #10 from Felix Palmen <zirias@freebsd.org> ---
Created attachment 249738
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249738&action=
=3Dedit
games-eduke32-patch-mimalloc-usage

As an alternative, here's a patch that keeps using mimalloc. The issue are =
some
#defines to replace malloc() and friends for C code that break the C++ stan=
dard
headers, so this patch makes sure the header doing this is only included wh=
en
not compiling C++.

I'm not perfectly sure whether this is correct (if some C++ code uses stdli=
b's
malloc directly, we'd use two different allocators at the same time), but f=
rom
a quick test, the build result works for me as well.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277869-7788-SO23SzAbtp>