Hello,

here is the patch I applied to the Ubuntu package to fix it.

Michael

--- smilutils-0.3.2+cvs20070731.orig/libkino/gnome-stubs.cc
+++ smilutils-0.3.2+cvs20070731/libkino/gnome-stubs.cc
@@ -24,16 +24,16 @@
 
 char *gnome_config_get_string( const char *path )
 {
-       char *ptr = strchr( path, '=' );
+       const char *ptr = strchr( path, '=' );
        if ( ptr != NULL )
                return strdup( ptr + 1 );
        else
                return NULL;
 }
 
-char *gnome_config_get_safe( const char *path )
+const char *gnome_config_get_safe( const char *path )
 {
-       char *ptr = strchr( path, '=' );
+       const char *ptr = strchr( path, '=' );
        if ( ptr != NULL )
                return ptr + 1;
        else



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to