[Bug 215393] devel/boost-libs: bad encoding conversion with base iconv()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 16 20:37:52 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215393

--- Comment #15 from commit-hook at freebsd.org ---
A commit references this bug:

Author: tijl
Date: Wed Jan 16 20:36:48 UTC 2019
New revision: 490518
URL: https://svnweb.freebsd.org/changeset/ports/490518

Log:
  Fix use of iconv in Boost Locale.  On FreeBSD it used __ICONV_F_HIDE_INVALID
  which hides invalid sequences, but what Boost really wants is that iconv
  returns an error on invalid sequences like GNU libiconv does by default.
  On FreeBSD ICONV_SET_ILSEQ_INVALID can be used for this.  It has to be set
  via iconvctl.

  PR:           215393

Changes:
  head/devel/boost-libs/Makefile
  head/devel/boost-libs/files/patch-libs_locale_src_encoding_iconv_codepage.ipp
  head/devel/boost-libs/files/patch-libs_locale_src_posix_codecvt.cpp
  head/devel/boost-libs/files/patch-libs_locale_src_util_iconv.hpp

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-office mailing list