[tlbuild] dvisvgm-2.1.2 in TL
Nelson H. F. Beebe
beebe at math.utah.edu
Tue Feb 14 15:16:32 CET 2017
Marc Baudoin <babafou at babafou.eu.org> writes about the missing
uselocale() function on NetBSD.
Yes, that is a known problem that has broken builds of a few GNU
packages that need it.
A fallback implementation should be provided. The manual page for it
on Ubuntu 16.04 says:
>> ...
>> USELOCALE(3) Linux Programmer's Manual USELOCALE(3)
>>
>> NAME
>> uselocale - set/get the locale for the calling thread
>>
>> SYNOPSIS
>> #include <locale.h>
>>
>> locale_t uselocale(locale_t newloc);
>>
>> Feature Test Macro Requirements for glibc (see fea-
>> ture_test_macros(7)):
>>
>> uselocale():
>> Since glibc 2.10:
>> _XOPEN_SOURCE >= 700
>> Before glibc 2.10:
>> _GNU_SOURCE
>> ...
>> NOTES
>> Unlike setlocale(3), uselocale() does not allow selective replace-
>> ment of individual locale categories. To employ a locale that
>> differs in only a few categories from the current locale, use
>> calls to duplocale(3) and newlocale(3) to obtain a locale object
>> equivalent to the current locale and modify the desired categories
>> in that object.
>> ...
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe at math.utah.edu -
- 155 S 1400 E RM 233 beebe at acm.org beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
More information about the tlbuild
mailing list