opnsense-ports/textproc/scim/files/patch-extras-gtk2_immodule-gtkimcontextscim.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
687 B
C++

--- extras/gtk2_immodule/gtkimcontextscim.cpp.orig 2008-11-02 07:43:15.000000000 +0100
+++ extras/gtk2_immodule/gtkimcontextscim.cpp 2013-10-08 18:16:29.000000000 +0200
@@ -1710,7 +1710,7 @@
// 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"),