ports/inputmethods/scim/patches/patch-extras_gtk2_immodule_gtkimcontextscim_cpp

12 lines
683 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- extras/gtk2_immodule/gtkimcontextscim.cpp.orig Fri Apr 28 12:35:21 2017
+++ extras/gtk2_immodule/gtkimcontextscim.cpp Fri Apr 28 12:39:56 2017
@@ -1710,7 +1710,7 @@ initialize (void)
// And set manual to false.
if (!check_socket_frontend ()) {
std::cerr << "Launching a SCIM daemon with Socket FrontEnd...\n";
- char *new_argv [] = { static_cast<char*> ("--no-stay"), 0 };
+ char *new_argv [] = { const_cast<char *>("--no-stay"), 0 };
scim_launch (true,
config_module_name,
(load_engine_list.size () ? scim_combine_string_list (load_engine_list, ',') : "all"),