wok annotate fbxkb/stuff/fbxkb.patch @ rev 12760

parcellite: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 11:58:09 2012 +0200 (2012-05-12)
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 $<