diff options
author | Peter Wemm <peter@FreeBSD.org> | 2013-07-01 08:06:26 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2013-07-01 08:06:26 +0000 |
commit | 3d4b80da4e518a0c3932e17f9afe730efa98e26c (patch) | |
tree | 6ccd193339a06c80e18d73d20490bedc798e225c /lib/libc/iconv/Symbol.map | |
parent | 0d5daade6d7101438cc76e954838bce2ba7aad00 (diff) |
__weak_alias() doesn't exist on FreeBSD. Use __weak_reference();
Expose iconv functions as weak symbols as well as their internal
remapped #define names. This is necessary for autoconf compatability -
on Linux it appears that #include <iconv.h> isn't a link time
prerequisite for their version that's built into glibc.
Initialize the pthread rwlock. Note that upstream has three
separate locks. The file-local static lock appears intentional.
I'm using this as a ports-compatible compile-time substitute for
converters/libiconv on one of my personal machines.
Notes
Notes:
svn path=/head/; revision=252458
Diffstat (limited to 'lib/libc/iconv/Symbol.map')
-rw-r--r-- | lib/libc/iconv/Symbol.map | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/iconv/Symbol.map b/lib/libc/iconv/Symbol.map index 73e0e225ffe2..82be46f72ed8 100644 --- a/lib/libc/iconv/Symbol.map +++ b/lib/libc/iconv/Symbol.map @@ -17,6 +17,16 @@ FBSD_1.2 { libiconvlist; }; +FBSD_1.3 { + iconv; + iconv_open; + iconv_close; + iconv_open_into; + iconv_set_relocation_prefix; + iconvctl; + iconvlist; +}; + FBSDprivate_1.0 { _citrus_bcs_convert_to_lower; _citrus_bcs_convert_to_upper; |