Giovanni Bechis wrote:
The recent p5-Tk update fails regressions with perl 5.10, on amd64 there are a lot of errors like this:

"no event type or button # or keysym at /usr/obj/ports/p5-Tk-804.028/Tk-804.028/blib/lib/Tk/Widget.pm line 1105.

Oops, wrong diff, this one is correct.
 Cheers
  Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/p5-Tk/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile    2 Oct 2008 08:31:29 -0000       1.30
+++ Makefile    4 Nov 2008 08:41:23 -0000
@@ -8,7 +8,7 @@ COMMENT-demo=   demonstrate the features o
 MODULES=       cpan
 VERSION=       804.028
 DISTNAME=      Tk-${VERSION}
-PKGNAME-main=  p5-Tk-${VERSION}
+PKGNAME-main=  p5-Tk-${VERSION}p0
 PKGNAME-demo=  p5-Tk-demo-${VERSION}
 CATEGORIES=    x11 devel
 
Index: patches/patch-pTk_mTk_generic_tkBind_c
===================================================================
RCS file: patches/patch-pTk_mTk_generic_tkBind_c
diff -N patches/patch-pTk_mTk_generic_tkBind_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-pTk_mTk_generic_tkBind_c      4 Nov 2008 08:41:23 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- pTk/mTk/generic/tkBind.c.orig      Tue Nov  4 09:25:33 2008
++++ pTk/mTk/generic/tkBind.c   Tue Nov  4 09:25:05 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,

Reply via email to