[Midnightbsd-cvs] [MidnightBSD/mports] 941be5: devel/microsoft-gsl: update to 4.2.2

Lucas Holt noreply at github.com
Mon Sep 7 11:53:50 EDT 2026


  Branch: refs/heads/devel/microsoft-gsl
  Home:   https://github.com/MidnightBSD/mports
  Commit: 941be56fa88d545ab94820a8b602284a1852a30b
      https://github.com/MidnightBSD/mports/commit/941be56fa88d545ab94820a8b602284a1852a30b
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M cad/freecad/Makefile
    M devel/microsoft-gsl/Makefile
    M devel/microsoft-gsl/distinfo
    M devel/microsoft-gsl/pkg-plist
    M net-im/telegram-desktop/Makefile

  Log Message:
  -----------
  devel/microsoft-gsl: update to 4.2.2

net-im/telegram-desktop requires Microsoft.GSL 4.1.0 or newer:

  cmake/external/gsl/CMakeLists.txt:11: find_package(Microsoft.GSL 4.1.0 QUIET)

With 4.0.0 installed that find_package fails quietly and the build falls
through to the bundled copy, which the port deletes, so it stops with:

  CMake Error at cmake/external/gsl/CMakeLists.txt:20 (message):
    Guidelines Support Library is not found

4.2.2 is what the FreeBSD port carries. distinfo matches it byte for byte.

pkg-plist is updated for the release: the legacy gsl_algorithm, gsl_assert,
gsl_byte, gsl_narrow and gsl_util aliases and string_span are gone, and
zstring and share/cmake/Microsoft.GSL/GSL.natvis are new.

Because this is a header-only library and headers were removed, both
consumers get a PORTREVISION bump: cad/freecad and net-im/telegram-desktop.

Built, staged, packaged and installed on MidnightBSD 4.2 amd64. Verified
against net-im/telegram-desktop, which now gets past the GSL check and
through cmake configure and generate. It still does not finish building, but
for an unrelated reason: clang 19.1.7 crashes while parsing the generated
GObject introspection headers. That is reported separately.

cad/freecad could not be rebuilt to confirm it still compiles against 4.2.2,
because it currently fails at the patch stage for an unrelated reason (see the
SetupSalomeSMESH patch issue). The bump is correct regardless, since the
headers it compiles against have changed.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01XkHF8bn8Ehit2aSoWjCshm
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