Package: mlterm
Version: 2.9.2-2.1
Severity: serious
Tags: patch

mlterm fails to build because there is no function that matches the
call to scim::ConfigModule::create_config:

> ../../libtool --mode=compile c++  -I../../kiklib/include -I../../mkf/include 
> -Wall -g -O2 -g -O2 -DUSE_KBD -DUSE_UIM -DUSE_IIIMF -DUSE_M17NLIB -DUSE_SCIM 
> -DUSE_IM_PLUGIN -I/usr/include/scim-1.0 -I../../mlterm -I../../xwindow 
> -I/usr/local/include -c im_scim_1.2.cpp
> rm -f .libs/im_scim_1.2.lo
> c++ -I../../kiklib/include -I../../mkf/include -Wall -g -O2 -g -O2 -DUSE_KBD 
> -DUSE_UIM -DUSE_IIIMF -DUSE_M17NLIB -DUSE_SCIM -DUSE_IM_PLUGIN 
> -I/usr/include/scim-1.0 -I../../mlterm -I../../xwindow -I/usr/local/include 
> -c im_scim_1.2.cpp  -fPIC -DPIC -o .libs/im_scim_1.2.lo
> im_scim_1.2.cpp: In function 'int im_scim_initialize(char*)':
> im_scim_1.2.cpp:536: error: no matching function for call to 
> 'scim::ConfigModule::create_config(const char [5])'
> /usr/include/scim-1.0/scim_config_module.h:117: note: candidates are: 
> scim::ConfigPointer scim::ConfigModule::create_config() const

Upstream CVS indicates that this parameter was the application name,
and doesn't appear to include a new way to set it.  Removing it fixes
the build.

-- 
Matt
only in patch2:
unchanged:
--- mlterm-2.9.2.orig/inputmethod/scim/im_scim_1.2.cpp
+++ mlterm-2.9.2/inputmethod/scim/im_scim_1.2.cpp
@@ -533,7 +533,7 @@
                goto  error ;
        }
 
-       config = config_module->create_config( "scim") ;
+       config = config_module->create_config() ;
 
        if( config.null())
        {

Attachment: signature.asc
Description: Digital signature

Reply via email to