[Midnightbsd-cvs] [MidnightBSD/mports] e5dc0e: chinese/opencc: drop USE_GCC, use system clang; bu...
Lucas Holt
noreply at github.com
Tue Apr 14 16:55:42 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: e5dc0eb702b59fc7a470bf3b900e969ee1145eca
https://github.com/MidnightBSD/mports/commit/e5dc0eb702b59fc7a470bf3b900e969ee1145eca
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M chinese/opencc/Makefile
Log Message:
-----------
chinese/opencc: drop USE_GCC, use system clang; bump PORTREVISION
opencc was forced to build with GCC (USE_GCC=yes), producing symbols in
the libstdc++ ABI (std::__cxx11::). librime and other consumers are
built with the system clang (libc++, std::__1::), causing an ABI mismatch
and undefined references at link time:
undefined reference: opencc::Converter::Convert(std::__1::basic_string...)
undefined reference: opencc::Config::NewFromFile(std::__1::basic_string...)
Remove USE_GCC=yes so opencc builds with the system clang, aligning its
ABI with all consumers. Also tighten the compiler requirement to
c++17-lang to match what opencc's CMakeLists actually sets.
Bump PORTREVISION for the ABI change.
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