[Midnightbsd-cvs] [MidnightBSD/mports] 8b2cd2: textproc/scim-kmfl-imengine: Fix build with modern...

Lucas Holt noreply at github.com
Thu May 28 09:33:25 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 8b2cd2e2cd71d499fa843c3537781113afdb19f0
      https://github.com/MidnightBSD/mports/commit/8b2cd2e2cd71d499fa843c3537781113afdb19f0
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M textproc/scim-kmfl-imengine/Makefile

  Log Message:
  -----------
  textproc/scim-kmfl-imengine: Fix build with modern C++ standard libraries (#587)

Resolves the compilation failure on Magus (port ID 2189884) where
standard C++ library implicit instantiation of undefined template
`std::char_traits<unsigned int>` was triggered. Specifying
`-D__STDC_ISO_10646__` ensures SCIM's `WideString` is defined as
`std::wstring` (`std::basic_string<wchar_t>`), for which
`std::char_traits` is fully defined. Additionally, this sets the
`LICENSE` field to `gpl2` to match `textproc/kmflcomp` and
`textproc/libkmfl`.

## Summary by Sourcery

Update scim-kmfl-imengine port metadata and build flags to fix
compilation with modern C++ standard libraries.

Bug Fixes:
- Define __STDC_ISO_10646__ in CPPFLAGS so WideString maps to a
supported wide string type and avoids template instantiation errors with
modern C++ standard libraries.

Build:
- Add GPLv2 license declaration to the port Makefile to align licensing
with related KMFL components.

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