freebsd-dev/tools/build
Kyle Evans 2300a22c97 libc: iconv: add mb_cur_min for encoder traits
A future commit will actually implement //IGNORE so that applications
using base iconv can, e.g., sanitize UTF-8 strings.  To do this, the
iconv_std module needs to be able to determine the minimum width for any
given encoding so that it can skip that many bytes in the input buffer.
This is mainly an issue for UTF-16 and UTF-32.

This commit bumps shlib versions to 5 for libiconv modules to reflect
the ABI change.  It also fixes OptionalObsoleteFiles to remove the
libiconv modules if WITHOUT_ICONV is in use.

re: _ENCODING_MB_CUR_MIN, note that this file (citrus_stdenc_template.h)
is included at the bottom of an encoding *implementation*, so the
implementation is free to #define it prior.  UTF1632 is a good example,
as it redefines the minimum to be a property on the encodinginfo, and
the minimum is set to 2 or 4 bytes for UTF-16 and UTF-32 respectively.

Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D34344
2022-08-11 11:42:17 -05:00
..
bootstrap-m4 tools/build/bootstrap-m4: regenerate after d37f81e35b 2021-04-21 10:57:51 +01:00
cross-build cross-build: Add comment missing from 9e5b0d9eac 2021-12-15 19:45:31 +00:00
libc-bootstrap Fix crossbuild bootstrap tools build with Clang 12 2021-02-17 09:54:59 +00:00
make_check
mk libc: iconv: add mb_cur_min for encoder traits 2022-08-11 11:42:17 -05:00
options cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
test-includes test-includes: improve portability 2022-03-22 20:23:22 +00:00
beinstall.sh beinstall.sh: Use bectl instead of beadm by default 2020-10-30 09:40:55 +00:00
check-links.sh check-links.sh: treat PIE executable as elf files 2021-09-23 04:49:57 +02:00
depend-cleanup.sh depend-cleanup.sh: Handle kqtest being renamed to kqueue_test. 2022-07-14 13:03:59 -07:00
dummy.c
fcntl.h truncate(1): Fix cross-build CI failure due to missing fspacectl 2021-08-24 17:08:28 +08:00
fspacectl.c Silence unused parameter warnings in fspacectl(2) bootstrap stub 2021-08-28 15:37:43 +02:00
futimens.c
make.py Allow bootstrapping llvm-tblgen on macOS and Linux 2021-08-02 14:36:03 +01:00
Makefile namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00
Makefile.depend
stat.h
stdlib.h
strings.h Fix buildworld on FreeBSD 10 2018-07-16 11:03:05 +00:00
utimensat.c