Created attachment 246919 [details] Remove sbrk use in cdrkit and genisoimage The code has fallbacks and when configured with configure presumably used them. Just remove the HAVE_SBRK define from xconfig.h.in to do the right thing. This is untested, but compiles on an amd64 world without sbrk.
^Triage: reporter is committer, assign accordingly.
Please test thoroughly as my 1 FreeBSD box with a CD is currently not booting... Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=71866091735cd13883e453ee3576b48fbbd1fbd8 commit 71866091735cd13883e453ee3576b48fbbd1fbd8 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-12-08 21:26:50 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2025-02-18 21:00:22 +0000 sysutils/{cdrkit,genisoimage}: remove sbrk use The code has fallbacks for a lack of sbrk. Just remove the HAVE_SBRK define from xconfig.h.in to avoid using it needlessly. I've verified basic genisoimage functionality. PR: 275645 Approved by jharris@widomaker.com (maintainer) sysutils/cdrkit/Makefile | 2 +- sysutils/cdrkit/files/patch-include_xconfig.h.in (new) | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-)