wok view fbxkb/stuff/fbxkb.patch @ rev 10535
nfs-utils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 17:59:45 2011 +0200 (2011-05-25) |
parents | |
children |
line source
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]);
11 }
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]);
15 }
16 XFree(sym_name);
17 }
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 $<