updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / fbxkb / fbxkb.patch
blob06d539011b633ddd16759017b1ede66abad168ec
1 --- a/fbxkb.c 2006-12-18 21:47:52.000000000 +0000
2 +++ b/fbxkb.c 2008-11-08 16:25:32.000000000 +0000
3 @@ -378,10 +378,11 @@
4 g_assert((no >= 0) && (no < ngroups));
5 if (group2info[no].sym != NULL) {
6 ERR("xkb group #%d is already defined\n", no);
7 + } else {
8 + group2info[no].sym = g_strdup(tok);
9 + group2info[no].flag = sym2flag(tok);
10 + group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);
12 - group2info[no].sym = g_strdup(tok);
13 - group2info[no].flag = sym2flag(tok);
14 - group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);
16 XFree(sym_name);
18 --- fbxkb-0.6.orig/Makefile.common 2004-10-15 22:18:59.000000000 +0000
19 +++ fbxkb-0.6/Makefile.common 2010-11-02 13:35:02.593908176 +0000
20 @@ -25,7 +25,7 @@
21 endif
23 # -DGTK_DISABLE_DEPRECATED does not work yet
24 -CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
25 +CFLAGS += -g
27 %.o: %.c
28 $(CC) $(CFLAGS) $(INCS) -c $<