Date: Tue, 1 Dec 2009 12:50:54 +0100 From: Matthias Drochner <m.drochner@googlemail.com> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: freebsd-bluetooth@freebsd.org, plunky@netbsd.org Subject: patch to make obexapp work with BSD iconv(3) Message-ID: <20091201125054.44a00147@zelz27>
next in thread | raw e-mail | index | archive | help
Here is a patch which removes the GNU iconv dependency from obexapp. I've successfully tested it by sending vcards with strange names; the resulting files were identical. The relevant changes are: -just use the result of nl_langinfo(CODESET) as input of iconv_open(3), this is more robust than trying to interpret the locale string -remove iconvctl(ICONV_SET_DISCARD_ILSEQ) -- BSD doesn't have this and it should be unneeded because it only compensates for some non-standard behaviour of GNU iconv. (The bsdxml->expat part is unrelated.) best regards Matthias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091201125054.44a00147>