[Bug 232073] graphics/inkscape 0.92.3_3 crash after start, bunch of (inkscape:87801): Gtk-WARNING **, core dump

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 31 11:58:08 UTC 2018


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

--- Comment #18 from Tijl Coosemans <tijl at FreeBSD.org> ---
(In reply to Jan Beich from comment #16)
Patching glibmm like that isn't correct on FreeBSD because the wchar_t encoding
depends on the locale.  It is only ucs4 encoded for utf-8 locales
(lib/libc/locale/utf8.c).  Both clang and gcc seem to convert wchar_t string
literals like L"¹²³" to ucs4 though so I wouldn't be surprised if libc++ also
assumes it's ucs4.  With both Linux and MacOS always using ucs4 this is a fight
we can't win so I'm all for making wchar_t always ucs4 and defining
__STDC_ISO_10646__ (glibc defines it in /usr/include/stdc-predef.h iirc).

In the mean time, if reverting
https://gitlab.gnome.org/GNOME/glib/commit/8abf3a04e699abd486c4dcaa57977203584acf0e
fixes the problem you can add a patch for that to devel/glib20.

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


More information about the freebsd-gnome mailing list