Date: Mon, 15 Oct 2018 10:36:46 +0000 From: Marcin Cieslak <saper@saper.info> To: Erich Dollansky <freebsd.ed.lists@sumeritec.com> Cc: freebsd-ports@freebsd.org, Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Subject: Re: inkscape core dumps at start Message-ID: <nycvar.OFS.7.76.444.1810151034000.5494@z.fncre.vasb> In-Reply-To: <nycvar.OFS.7.76.444.1810150915540.5494@z.fncre.vasb> References: <20181009081621.2fbac320.freebsd.ed.lists@sumeritec.com> <90b5c6bb-1248-347c-c0e0-bc60570b6cf0@utanet.at> <20181010063547.72e466ac.freebsd.ed.lists@sumeritec.com> <nycvar.OFS.7.76.444.1810142228250.5494@z.fncre.vasb> <nycvar.OFS.7.76.444.1810150915540.5494@z.fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
--1563967779-1450301874-1539599806=:5494 Content-Type: text/plain; charset=US-ASCII 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 <w.schwarzenfeld@utanet.at> 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)); --1563967779-1450301874-1539599806=:5494 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: BASE64 Content-Description: S/MIME Cryptographic Signature Content-Disposition: attachment; filename=smime.p7s MIIOSwYJKoZIhvcNAQcCoIIOPDCCDjgCAQExDzANBglghkgBZQMEAgEFADAL BgkqhkiG9w0BBwGgggqQMIIElzCCA3+gAwIBAgIOSBtqCKJEiNNcmz3JSA0w DQYJKoZIhvcNAQELBQAwTDEgMB4GA1UECxMXR2xvYmFsU2lnbiBSb290IENB IC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ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ks 9ar0V8oSarQMwFlMV0WoAtfpoMX0z7CLtdpGmc63fjdC06EreIBZHz7CUDYI iSl8vTAsieScCr3u8slRMkdJ/m47I4HthfMY4GETBh/TL5lKUUz5YvPpqaFz H5UbFKmfaKazpa24zSBtDkrvsbVRzr3sCehrpa00XFE1XXmA7DMvShJZCQm2 Q2s/W/tQ5H5RyXVwMTXLLRHSkcxCa5c0czsEAQxe9F6JZRAs4Il9vtvgsea2 MCfTyAAj3o4LTv8Iam+pUytdU7fR87NypoL0xR5f8mwO47Q70xMCSDp2uEwd OWXgtaG4/jKH1pGigP82hiWclGeY571YIaBwmQqR88542lg3NOgoRdWXO6kQ 4+pXjWLIcevtQnQLPa51/l4y+e9ms5UzdbDw2sIXrIIsE8dZ8ZzP8LGit88z XzJbKaSYKMLiDhsSr1PZxjQf --1563967779-1450301874-1539599806=:5494--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nycvar.OFS.7.76.444.1810151034000.5494>