From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch (limited to 'x11-plugins/gkrellm-xkb/files/gkrellm-xkb-ds-subs.patch') 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; -- cgit v1.2.3