diff options
author | gson <gson@pkgsrc.org> | 2009-08-17 14:40:43 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2009-08-17 14:40:43 +0000 |
commit | 40da4f3fe610a550069126d73ca2a46fce7c32e2 (patch) | |
tree | 1dcc578795e953fba90be8ae7f7d6f3433ef99cd /x11/p5-Tk/patches | |
parent | 16dd2a00c6a4f679c939a6572983a6bfac1216fe (diff) | |
download | pkgsrc-40da4f3fe610a550069126d73ca2a46fce7c32e2.tar.gz |
Deal with the new "GenericEvent" X event. This fixes the same bug in
x11/p5-Tk that tk-8.4.18nb1 fixed in x11/tk.
Diffstat (limited to 'x11/p5-Tk/patches')
-rw-r--r-- | x11/p5-Tk/patches/patch-ai | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/p5-Tk/patches/patch-ai b/x11/p5-Tk/patches/patch-ai new file mode 100644 index 00000000000..fedc16818d8 --- /dev/null +++ b/x11/p5-Tk/patches/patch-ai @@ -0,0 +1,24 @@ +$NetBSD: patch-ai,v 1.1 2009/08/17 14:40:43 gson Exp $ + +--- pTk/mTk/generic/tkBind.c.orig 2009-08-17 12:41:17.000000000 +0300 ++++ pTk/mTk/generic/tkBind.c +@@ -585,6 +585,9 @@ char *eventTypeName[TK_LASTEVENT] = { + "ColormapNotify", + "ClientMessage", + "MappingNotify", ++#ifdef GenericEvent ++ "GenericEvent", /* Introduced in xproto-7.0.13 */ ++#endif + "VirtualEvent", + "Activate", + "Deactivate" +@@ -629,6 +632,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, |