On Mon, 15 Oct 2018, Marcin Cieslak wrote: > On Sun, 14 Oct 2018, Marcin Cieslak wrote: > > > On Wed, 10 Oct 2018, Erich Dollansky wrote: > > > > > Hi, > > > > > > On Tue, 9 Oct 2018 14:57:55 +0200 > > > Walter Schwarzenfeld <[email protected]> wrote: > > > > > > > seems the same as in this PR > > > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232073 > > > > > > > yes, it is. So, we are now already two having the same problem. > > > > Getting the same on 11.1-R without updating inkscape: > > > > Version : 0.92.2 > > Installed on : Thu Mar 1 02:02:11 2018 CET > > > > I have updated a bunch of libraries a moment ago and > > one of those is probably a problem. > > https://github.com/caskformula/homebrew-caskformula/issues/51 > > https://bugzilla.gnome.org/show_bug.cgi?id=795338 > > Haven't tried rebuilding libgtkmm with __STDC_ISO_10646__ defined yet.
The patch below (taken from Bugzilla) can be put into
/usr/ports/devel/glibmm/files
After rebuilding glibmm inkscape starts again.
I wonder why we run into this issue, should
USE_CXXSTD= gnu++11
be added to the port's makefile?
Marcin
--- glib/glibmm/ustring.cc.orig 2017-08-30 14:13:30 UTC
+++ glib/glibmm/ustring.cc
@@ -1364,7 +1364,7 @@ ustring::FormatStream::to_string() const
#ifdef GLIBMM_HAVE_WIDE_STREAM
const std::wstring str = stream_.str();
-#if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4
+#if (defined(__STDC_ISO_10646__) || defined(_LIBCPP_VERSION)) &&
SIZEOF_WCHAR_T == 4
// Avoid going through iconv if wchar_t always contains UCS-4.
glong n_bytes = 0;
const auto buf = make_unique_ptr_gfree(g_ucs4_to_utf8(
@@ -1452,7 +1452,7 @@ operator>>(std::wistream& is, ustring& u
std::wstring wstr;
is >> wstr;
-#if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4
+#if (defined(__STDC_ISO_10646__) || defined(_LIBCPP_VERSION)) &&
SIZEOF_WCHAR_T == 4
// Avoid going through iconv if wchar_t always contains UCS-4.
glong n_bytes = 0;
const auto buf = make_unique_ptr_gfree(g_ucs4_to_utf8(
@@ -1483,7 +1483,7 @@ operator<<(std::wostream& os, const ustr
{
GError* error = nullptr;
-#if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4
+#if (defined(__STDC_ISO_10646__) || defined(_LIBCPP_VERSION)) &&
SIZEOF_WCHAR_T == 4
// Avoid going through iconv if wchar_t always contains UCS-4.
const auto buf = make_unique_ptr_gfree(
g_utf8_to_ucs4(utf8_string.raw().data(), utf8_string.raw().size(),
nullptr, nullptr, &error));
smime.p7s
Description: S/MIME Cryptographic Signature
