File hanterm-xf-iconv.patch of Package hanterm-xf

Index: hanterm-xf-2.0.5-173/configure
===================================================================
--- hanterm-xf-2.0.5-173.orig/configure
+++ hanterm-xf-2.0.5-173/configure
@@ -6103,7 +6103,7 @@ int main (int argc, char **argv)
 		utf8_len = 10;
 		utf8_real_len = strlen(utf8);
 	}
-	if (iconv (cd, &jp, &jp_len, &trans, &utf8_len) == -1 || jp_len != 0)
+	if (iconv (cd, (char**)&jp, &jp_len, &trans, &utf8_len) == -1 || jp_len != 0)
 		exit (1);
 	if (memcmp (utf8, transbuf, utf8_real_len) != 0)
 		exit (1);
openSUSE Build Service is sponsored by