fix with new xproto, from http://bugs.gentoo.org/show_bug.cgi?id=225999 $OpenBSD: patch-pTk_mTk_generic_tkBind_c,v 1.1 2008/11/04 10:08:03 sthen Exp $ --- pTk/mTk/generic/tkBind.c.orig Tue Nov 4 09:10:19 2008 +++ pTk/mTk/generic/tkBind.c Tue Nov 4 09:12:11 2008 @@ -629,6 +629,9 @@ static int flagArray[TK_LASTEVENT] = { /* ColormapNotify */ COLORMAP, /* ClientMessage */ 0, /* MappingNotify */ 0, +#ifdef GenericEvent + /* GenericEvent */ 0, +#endif /* VirtualEvent */ VIRTUAL, /* Activate */ ACTIVATE, /* Deactivate */ ACTIVATE,