wok-next diff fbxkb/stuff/fbxkb.patch @ rev 10416
db: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 07:54:39 2011 +0000 (2011-05-24) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fbxkb/stuff/fbxkb.patch Tue May 24 07:54:39 2011 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +--- a/fbxkb.c 2006-12-18 21:47:52.000000000 +0000 1.5 ++++ b/fbxkb.c 2008-11-08 16:25:32.000000000 +0000 1.6 +@@ -378,10 +378,11 @@ 1.7 + g_assert((no >= 0) && (no < ngroups)); 1.8 + if (group2info[no].sym != NULL) { 1.9 + ERR("xkb group #%d is already defined\n", no); 1.10 ++ } else { 1.11 ++ group2info[no].sym = g_strdup(tok); 1.12 ++ group2info[no].flag = sym2flag(tok); 1.13 ++ group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]); 1.14 + } 1.15 +- group2info[no].sym = g_strdup(tok); 1.16 +- group2info[no].flag = sym2flag(tok); 1.17 +- group2info[no].name = XGetAtomName(dpy, kbd_desc_ptr->names->groups[no]); 1.18 + } 1.19 + XFree(sym_name); 1.20 + } 1.21 +--- fbxkb-0.6.orig/Makefile.common 2004-10-15 22:18:59.000000000 +0000 1.22 ++++ fbxkb-0.6/Makefile.common 2010-11-02 13:35:02.593908176 +0000 1.23 +@@ -25,7 +25,7 @@ 1.24 + endif 1.25 + 1.26 + # -DGTK_DISABLE_DEPRECATED does not work yet 1.27 +-CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 1.28 ++CFLAGS += -g 1.29 + 1.30 + %.o: %.c 1.31 + $(CC) $(CFLAGS) $(INCS) -c $<