diff options
author | gson <gson> | 2009-08-17 14:40:43 +0000 |
---|---|---|
committer | gson <gson> | 2009-08-17 14:40:43 +0000 |
commit | c02538240271f38ae3e163a8bf6868b35f96c25c (patch) | |
tree | 1dcc578795e953fba90be8ae7f7d6f3433ef99cd /x11/p5-Tk/patches | |
parent | 6ac9505a4e579f688e65815ffc38694946897d06 (diff) | |
download | pkgsrc-c02538240271f38ae3e163a8bf6868b35f96c25c.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, |