[Midnightbsd-cvs] [MidnightBSD/src] 6155a4: mport: fix ohash callback guard on stable/4.1

Lucas Holt noreply at github.com
Fri Jul 3 00:30:50 EDT 2026


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: 6155a43d96f0fe0de3ff4c8db16b24d300ac1c98
      https://github.com/MidnightBSD/src/commit/6155a43d96f0fe0de3ff4c8db16b24d300ac1c98
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-03 (Fri, 03 Jul 2026)

  Changed paths:
    M contrib/mport/libmport/upgrade.c

  Log Message:
  -----------
  mport: fix ohash callback guard on stable/4.1

stable/4.1 still uses the older ohash_info halloc/hfree callback ABI, while master has moved to the newer calloc/free callback ABI.

Limit the newer callback signatures to MidnightBSD 4.2 and later so libmport builds against the stable/4.1 ohash header.

Signed-off-by: Lucas Holt <luke at foolishgames.com>

AI-Assisted-by: GPT-5 Codex



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list