[Midnightbsd-cvs] [MidnightBSD/mports] f84eba: x11/libxkbcommon: fix version-script probe so symb...
Lucas Holt
noreply at github.com
Wed Sep 23 18:49:17 EDT 2026
Branch: refs/heads/x11/libxkbcommon
Home: https://github.com/MidnightBSD/mports
Commit: f84ebabdacfc3410b099e2fe20a37e04797b4109
https://github.com/MidnightBSD/mports/commit/f84ebabdacfc3410b099e2fe20a37e04797b4109
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M x11/libxkbcommon/Makefile
A x11/libxkbcommon/files/patch-meson.build
Log Message:
-----------
x11/libxkbcommon: fix version-script probe so symbol versions are applied
Meson's -Wl,--version-script capability check links an executable with a
map that localizes everything. On MidnightBSD crt1.o defines environ and
__progname while libc.so references them, so both LLD and GNU ld reject
the link ("non-exported symbol 'environ' in '/usr/lib/crt1.o' is
referenced by DSO '/lib/libc.so.7'"). The probe then reports unsupported
and the project maps (V_0.5.0 .. V_1.12.0) were silently dropped from the
built libraries.
Link the probe as a shared object instead, mirroring the FreeBSD ports
fix, and add HAS_SYMBOL_VERSION so fake-sanity fails if the versions are
ever dropped again. Bump PORTREVISION since the installed ABI changes.
Fixes #1105
AI-Assisted-by: Claude Fable 5.1 <noreply at anthropic.com>
Co-Authored-By: Claude Fable 5.1 <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