FreeBSD Bugzilla – Attachment 198183 Details for
Bug 232073
graphics/inkscape 0.92.3_3 crash after start, bunch of (inkscape:87801): Gtk-WARNING **, core dump
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the patch of Marcin Cieslak
patch-devel_glibmm_files_patch-glib__glibmm__ustring.cc (text/plain), 1.65 KB, created by
Rainer Hurling
on 2018-10-15 16:23:14 UTC
(
hide
)
Description:
patch for the patch of Marcin Cieslak
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2018-10-15 16:23:14 UTC
Size:
1.65 KB
patch
obsolete
>diff -urN glibmm.orig/files/patch-glib_glibmm_ustring.cc glibmm/files/patch-glib_glibmm_ustring.cc >--- glibmm.orig/files/patch-glib_glibmm_ustring.cc 1970-01-01 01:00:00.000000000 +0100 >+++ glibmm/files/patch-glib_glibmm_ustring.cc 2018-10-15 18:04:23.468373000 +0200 >@@ -0,0 +1,29 @@ >+--- 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& utf8_string) >+ 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 ustring& utf8_stri >+ { >+ 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));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232073
: 198183