pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/p5-Tk Deal with the new "GenericEvent" X event. T...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad5fbe02700d
branches: trunk
changeset: 397656:ad5fbe02700d
user: gson <gson%pkgsrc.org@localhost>
date: Mon Aug 17 14:40:43 2009 +0000
description:
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:
x11/p5-Tk/Makefile | 3 ++-
x11/p5-Tk/distinfo | 3 ++-
x11/p5-Tk/patches/patch-ai | 24 ++++++++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diffs (54 lines):
diff -r c6c7f3687b72 -r ad5fbe02700d x11/p5-Tk/Makefile
--- a/x11/p5-Tk/Makefile Mon Aug 17 14:24:32 2009 +0000
+++ b/x11/p5-Tk/Makefile Mon Aug 17 14:40:43 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2008/10/22 10:35:30 markd Exp $
+# $NetBSD: Makefile,v 1.61 2009/08/17 14:40:43 gson Exp $
DISTNAME= Tk-804.028
+PKGREVISION= 1
PKGNAME= p5-Tk-804.028
SVR4_PKGNAME= p5tk
CATEGORIES= x11 tk perl5
diff -r c6c7f3687b72 -r ad5fbe02700d x11/p5-Tk/distinfo
--- a/x11/p5-Tk/distinfo Mon Aug 17 14:24:32 2009 +0000
+++ b/x11/p5-Tk/distinfo Mon Aug 17 14:40:43 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2009/03/20 17:32:06 hasso Exp $
+$NetBSD: distinfo,v 1.16 2009/08/17 14:40:43 gson Exp $
SHA1 (Tk-804.028.tar.gz) = 075c751f1388741aa313e002578d2e802668f2e8
RMD160 (Tk-804.028.tar.gz) = 8db5d3376f2374429ef71c38ddd268a73bac437e
@@ -11,3 +11,4 @@
SHA1 (patch-af) = 7d8de5532dd67680d6d3ad08f01fcb066805b45c
SHA1 (patch-ag) = ac4dccefd04743db78ddecde51b23194da1a801f
SHA1 (patch-ah) = 9399bfd03b6cc215cc8f918ac8ae0348bf7f6272
+SHA1 (patch-ai) = 37f3651c6491c5d2e3bec1e9649e7e05f45275a9
diff -r c6c7f3687b72 -r ad5fbe02700d x11/p5-Tk/patches/patch-ai
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/p5-Tk/patches/patch-ai Mon Aug 17 14:40:43 2009 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index