[Midnightbsd-cvs] [MidnightBSD/mports] 03a157: accessibility/darkman: enable CGo for boottimer pa...

Lucas Holt noreply at github.com
Wed Apr 29 20:38:31 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 03a157c9375115a0062864b2505bcbe3a16a0994
      https://github.com/MidnightBSD/mports/commit/03a157c9375115a0062864b2505bcbe3a16a0994
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M accessibility/darkman/Makefile

  Log Message:
  -----------
  accessibility/darkman: enable CGo for boottimer package

The boottimer package uses CGo to call POSIX timer APIs (timer_create,
timer_settime, timer_delete via -lrt) with CLOCK_BOOTTIME.  Setting
CGO_ENABLED=0 causes Go to exclude all CGo files, leaving the boottimer
package empty and the build failing with:

  build constraints exclude all Go files in .../boottimer

MidnightBSD provides CLOCK_BOOTTIME (aliased to CLOCK_UPTIME), the
POSIX timer functions, and librt.so, so removing CGO_ENABLED=0 lets
the package compile and link correctly.

AI-Assisted-by: Claude Sonnet 4.6 <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