1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/lib/libkiconv
Peter Wemm 0ff204bbd1 The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can.  I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc.  If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system.  iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.
2013-08-13 07:15:01 +00:00
..
kiconv_sysctl.c free(3) won't mess with errno so return it as-is. 2009-06-22 21:49:55 +00:00
kiconv.3 no one bothered to write the iconv.9 man page... If it appears we 2013-02-26 19:46:02 +00:00
Makefile Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib, 2012-06-12 20:24:57 +00:00
quirks.c Add prototypes when the library is compiled static. 2009-06-22 17:00:20 +00:00
quirks.h
xlat16_iconv.c The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
xlat16_sysctl.c Add prototypes when the library is compiled static. 2009-06-22 17:00:20 +00:00