FreeBSD Bugzilla – Attachment 253279 Details for
Bug 281083
devel/glib20 and devel/gobject-introspection: update to 2.82 and 1.82
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build
patch.glib (text/plain), 3.47 KB, created by
mew14930xvi
on 2024-09-02 16:55:55 UTC
(
hide
)
Description:
fix build
Filename:
MIME Type:
Creator:
mew14930xvi
Created:
2024-09-02 16:55:55 UTC
Size:
3.47 KB
patch
obsolete
>diff --git a/deskutils/pinot/files/patch-IndexSearch_cjkv_CJKVTokenizer.cc b/deskutils/pinot/files/patch-IndexSearch_cjkv_CJKVTokenizer.cc >new file mode 100644 >index 000000000000..92c1bf645dde >--- /dev/null >+++ b/deskutils/pinot/files/patch-IndexSearch_cjkv_CJKVTokenizer.cc >@@ -0,0 +1,11 @@ >+--- IndexSearch/cjkv/CJKVTokenizer.cc.orig 2024-09-02 16:16:17 UTC >++++ IndexSearch/cjkv/CJKVTokenizer.cc >+@@ -28,7 +28,7 @@ static char *unicode_get_utf8(const char *p, gunichar >+ { >+ *result = g_utf8_get_char(p); >+ >+- return (*result == (gunichar)-1) ? NULL : g_utf8_next_char(p); >++ return (*result == (gunichar)-1) ? NULL : const_cast<char*>(g_utf8_next_char(p)); >+ } >+ >+ // 2E80..2EFF; CJK Radicals Supplement >diff --git a/print/paps/files/patch-src_paps.cc b/print/paps/files/patch-src_paps.cc >new file mode 100644 >index 000000000000..22150eac7cb2 >--- /dev/null >+++ b/print/paps/files/patch-src_paps.cc >@@ -0,0 +1,11 @@ >+--- src/paps.cc.orig 2023-02-09 06:49:53 UTC >++++ src/paps.cc >+@@ -1115,7 +1115,7 @@ split_text_into_paragraphs (PangoContext *pango_contex >+ while (p != nullptr && *p) >+ { >+ wc = g_utf8_get_char (p); >+- next = g_utf8_next_char (p); >++ next = const_cast<char*>(g_utf8_next_char (p)); >+ if (wc == (gunichar)-1) >+ { >+ fprintf (stderr, _("%s: Invalid character in input\n"), g_get_prgname ()); >diff --git a/science/gchemutils/files/patch-libs_gccv_text.cc b/science/gchemutils/files/patch-libs_gccv_text.cc >new file mode 100644 >index 000000000000..c3e4b4299d6f >--- /dev/null >+++ b/science/gchemutils/files/patch-libs_gccv_text.cc >@@ -0,0 +1,29 @@ >+--- libs/gccv/text.cc.orig 2024-09-02 15:25:20 UTC >++++ libs/gccv/text.cc >+@@ -1126,7 +1126,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) >+ if (event->state & GDK_CONTROL_MASK) { >+ /* move to end of word */ >+ char const* s = m_Text.c_str (); >+- char *p = g_utf8_next_char (s + m_CurPos); >++ char *p = const_cast<char*>(g_utf8_next_char (s + m_CurPos)); >+ while (*p && (!g_unichar_isgraph (g_utf8_get_char(p)) || g_unichar_ispunct (g_utf8_get_char(p)))) >+ p = g_utf8_next_char (p); >+ while (g_unichar_isgraph (g_utf8_get_char(p)) && !g_unichar_ispunct (g_utf8_get_char(p))) >+@@ -1137,7 +1137,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) >+ Invalidate (); >+ } else { >+ char const* s = m_Text.c_str (); >+- char *p = g_utf8_next_char (s + m_CurPos); >++ char *p = const_cast<char*>(g_utf8_next_char (s + m_CurPos)); >+ if (!p) >+ break; >+ m_CurPos = p - s; >+@@ -1224,7 +1224,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) >+ if (m_CurPos == m_Text.length ()) >+ break; >+ char const* s = m_Text.c_str (); >+- char *p = g_utf8_next_char (s + m_CurPos); >++ char *p = const_cast<char*>(g_utf8_next_char (s + m_CurPos)); >+ int new_pos = p - s; >+ ReplaceText (empty_st, m_CurPos, new_pos - m_CurPos); >+ if (client) >diff --git a/x11-fm/nautilus/files/patch-src_nautilus-file-operations.c b/x11-fm/nautilus/files/patch-src_nautilus-file-operations.c >new file mode 100644 >index 000000000000..6dabd843613f >--- /dev/null >+++ b/x11-fm/nautilus/files/patch-src_nautilus-file-operations.c >@@ -0,0 +1,11 @@ >+--- src/nautilus-file-operations.c.orig 2024-09-02 15:19:10 UTC >++++ src/nautilus-file-operations.c >+@@ -419,7 +419,7 @@ shorten_utf8_string (const char *base, >+ while (len) >+ { >+ char *next; >+- next = g_utf8_next_char (p); >++ next = (char *) g_utf8_next_char (p); >+ if (next - p > len || *next == '\0') >+ { >+ break;
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 281083
:
253109
|
253195
| 253279