[Midnightbsd-cvs] [MidnightBSD/mports] 514fae: devel/llvm18: fix OSTargets.h patch insertion poin...

Lucas Holt noreply at github.com
Sat Jun 6 12:42:23 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 514fae943bdb0a70c4c92914c378bb806dd430a1
      https://github.com/MidnightBSD/mports/commit/514fae943bdb0a70c4c92914c378bb806dd430a1
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M devel/llvm18/files/patch-clang_lib_Basic_Targets_OSTargets.h

  Log Message:
  -----------
  devel/llvm18: fix OSTargets.h patch insertion point for MidnightBSD macros

The previous patch inserted Builder.defineMacro("__MidnightBSD__") at
line 215 which lands inside the FreeBSDTargetInfo constructor where
Builder, Release, and CCVersion are not in scope. Move the insertion
to line 204 (after __STDC_MB_MIGHT_NEQ_WC__) which is still inside the
getOSDefines() method where all three variables are defined.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.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