wok-6.x annotate fbxkb/stuff/fbxkb.patch @ rev 14995

enlightenment: add license (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 09:25:15 2013 +0000 (2013-08-10)
parents
children
rev   line source
slaxemulator@9295 1 --- a/fbxkb.c 2006-12-18 21:47:52.000000000 +0000
slaxemulator@9295 2 +++ b/fbxkb.c 2008-11-08 16:25:32.000000000 +0000
slaxemulator@9295 3 @@ -378,10 +378,11 @@
slaxemulator@9295 4 g_assert((no >= 0) && (no < ngroups));
slaxemulator@9295 5 if (group2info[no].sym != NULL) {
slaxemulator@9295 6 ERR("xkb group #%d is already defined\n", no);
slaxemulator@9295 7 + } else {
slaxemulator@9295 8 + group2info[no].sym = g_strdup(tok);
slaxemulator@9295 9 + group2info[no].flag = sym2flag(tok);
slaxemulator@9295 10 + group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);
slaxemulator@9295 11 }
slaxemulator@9295 12 - group2info[no].sym = g_strdup(tok);
slaxemulator@9295 13 - group2info[no].flag = sym2flag(tok);
slaxemulator@9295 14 - group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]);
slaxemulator@9295 15 }
slaxemulator@9295 16 XFree(sym_name);
slaxemulator@9295 17 }
slaxemulator@9295 18 --- fbxkb-0.6.orig/Makefile.common 2004-10-15 22:18:59.000000000 +0000
slaxemulator@9295 19 +++ fbxkb-0.6/Makefile.common 2010-11-02 13:35:02.593908176 +0000
slaxemulator@9295 20 @@ -25,7 +25,7 @@
slaxemulator@9295 21 endif
slaxemulator@9295 22
slaxemulator@9295 23 # -DGTK_DISABLE_DEPRECATED does not work yet
slaxemulator@9295 24 -CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
slaxemulator@9295 25 +CFLAGS += -g
slaxemulator@9295 26
slaxemulator@9295 27 %.o: %.c
slaxemulator@9295 28 $(CC) $(CFLAGS) $(INCS) -c $<