File stardict-gucharmap.patch of Package stardict

=== modified file 'configure.in'
--- configure.in	2008-07-10 17:42:44 +0000
+++ configure.in	2008-07-10 17:43:14 +0000
@@ -76,7 +76,7 @@
 	[enable_gucharmap=yes])
 
 if test "x$enable_gucharmap" = "xyes" ; then
-	PKG_CHECK_MODULES(GUCHARMAP, [gucharmap >= 1.4.0], have_gucharmap=yes, have_gucharmap=no)
+	PKG_CHECK_MODULES(GUCHARMAP, [gucharmap-2 >= 1.4.0], have_gucharmap=yes, have_gucharmap=no)
 	if test "x$have_gucharmap" = "xyes"; then
 		GUCHARMAP_CFLAGS="${GUCHARMAP_CFLAGS}"
 		GUCHARMAP_LIBS="${GUCHARMAP_LIBS}"

=== modified file 'stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp'
--- stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp	2008-07-10 17:42:44 +0000
+++ stardict-plugins/stardict-gucharmap-plugin/stardict_gucharmap.cpp	2008-07-10 18:18:06 +0000
@@ -237,7 +237,7 @@
 	/* canonical decomposition */
 	gunichar *decomposition;
 	gsize result_len;
-	decomposition = gucharmap_unicode_canonical_decomposition (uc, &result_len);
+	decomposition = g_unicode_canonical_decomposition( uc, &result_len);
 	if (result_len != 1) {
 		definition += _("Canonical decomposition:");
 		definition += " ";

openSUSE Build Service is sponsored by