On 2026/03/21 17:30, Christian Weisgerber wrote: > Attached there is > * an update of devel/gettext to 1.0 > * corresponding build fixes to 31 ports > > There have been a few intervening getext releases since 0.23.1, but > only incremental changes. The version number jump to 1.0 does not > correspond to any revolutionary step. > > libintl, or rather its embedded copy of gnulib, now treats OpenBSD's > implementation of the newlocale(3) family of functions as deficient > and provides replacement implementations. Most of the fallout > resulted from code that forces an old POSIX level with _XOPEN_SOURCE > or _POSIX_C_SOURCE that removes locale_t from the <locale.h> > namespace. This breaks including libintl.h since gettext is built > with locale_t in view and references the type for its newlocale(3) > wrappers: > > /usr/local/include/libintl.h:1019:8: error: unknown type name 'locale_t' > 1019 | extern locale_t newlocale (int, const char *, locale_t) > | ^ > > If there are no objections, I intend to commit all of this in a few > days.
What a fiddly update! I've read through it and don't have any concerns.
