head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.1.0.4 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.2 pkgsrc-2009Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2010.02.10.18.15.29; author joerg; state dead; branches; next 1.2; 1.2 date 2009.12.17.18.23.49; author abs; state Exp; branches; next 1.1; 1.1 date 2009.05.15.12.12.28; author sborrill; state Exp; branches; next ; desc @@ 1.3 log @Retire tk83 @ text @$NetBSD: patch-af,v 1.2 2009/12/17 18:23:49 abs Exp $ Tk uses X event numbers to index this array, as well as adding a few of its own, starting with "VirtualEvent" (Which is correctly set to LASTEvent, defined in include/X11/X.h). In xproto-7.0.13, a new event "GenericEvent" was added - making the array broken for all of Tk's internal events. A cleaner fix, but a much bigger patch, is listed in the Tk bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997 --- generic/tkBind.c.orig 2001-10-13 01:25:10.000000000 +0000 +++ generic/tkBind.c @@@@ -575,6 +575,9 @@@@ static int flagArray[TK_LASTEVENT] = { /* ColormapNotify */ COLORMAP, /* ClientMessage */ 0, /* MappingNotify */ 0, +#ifdef GenericEvent + /* GenericEvent */ 0, /* Introduced in xproto-7.0.13 */ +#endif /* VirtualEvent */ VIRTUAL, /* Activate */ ACTIVATE, /* Deactivate */ ACTIVATE, @ 1.2 log @PKG_DESTDIR_SUPPORT @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2009/05/15 12:12:28 sborrill Exp $ @ 1.1 log @Pull in patch from tk 8.4 to work with xproto > 7.0.13 (fixes MouseWheel problems at tk startup). Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ d12 3 a14 3 --- generic/tkBind.c.orig 2009-05-15 14:14:34.000000000 +0100 +++ generic/tkBind.c 2009-05-15 14:16:15.000000000 +0100 @@@@ -575,6 +575,9 @@@@ @