[Bug 277869] games/eduke32: build failure for 20240316

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Apr 2024 12:10:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277869

--- Comment #10 from Felix Palmen <zirias@freebsd.org> ---
Created attachment 249738
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249738&action=edit
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++ standard
headers, so this patch makes sure the header doing this is only included when
not compiling C++.

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

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