diff options
Diffstat (limited to 'x11-plugins/gkrellm-xkb/files')
-rw-r--r-- | x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch b/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch new file mode 100644 index 0000000..59698e2 --- /dev/null +++ b/x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch @@ -0,0 +1,12 @@ +diff -dPNur gkrellm-xkb-1.05/main.c gkrellm-xkb-1.05-new/main.c +--- gkrellm-xkb-1.05/main.c 2004-02-21 20:26:36.000000000 +0400 ++++ gkrellm-xkb-1.05-new/main.c 2006-12-04 15:03:42.000000000 +0400 +@@ -585,7 +585,7 @@ + int i; + i = 0; + while (global_flag_map[i].country_code) { +- if (g_ascii_strcasecmp(global_flag_map[i].country_code, xkb_rules[pos]) == 0) { ++ if (STARTS_WITH(xkb_rules[pos], global_flag_map[i].country_code)) { + group->flag_xpm = global_flag_map[i].flag_pointer; + /* fprintf(stderr, "xkb_find_flag_from_rules: found flag: %s\n", xkb_rules[pos]); */ + return True; |