[Midnightbsd-cvs] [MidnightBSD/mports] d9934e: ports-mgmt/mport: key the ohash ABI switch on __Mi...

Lucas Holt noreply at github.com
Mon Sep 21 14:53:30 EDT 2026


  Branch: refs/heads/ports-mgmt/mport
  Home:   https://github.com/MidnightBSD/mports
  Commit: d9934e7e105bb5504e8d384e303fa568fae26a3c
      https://github.com/MidnightBSD/mports/commit/d9934e7e105bb5504e8d384e303fa568fae26a3c
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    A ports-mgmt/mport/files/patch-libmport_upgrade.c

  Log Message:
  -----------
  ports-mgmt/mport: key the ohash ABI switch on __MidnightBSD_version 402000

The libc ohash_info callback signatures changed on 2026-06-11 without a
version bump; master was 401002 from 2026-03-17 until it moved to
402000 on 2026-06-26. mport 2.8.1 selects the new calloc/free style
callbacks for >= 401002, so a 401002 world built before the header
change (such as the Magus 4.1 node) compiles the new-ABI branch against
the old struct and fails with incompatible function pointer types.

402000 is the first version that guarantees the new header, so use it
as the threshold.

AI-Assisted-by: Claude Fable 5.1 <noreply at anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



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


More information about the Midnightbsd-cvs mailing list