Fix listbox handling after xproto update (previous tk update is needed too). Cheers Giovanni
Index: Makefile =================================================================== RCS file: /cvs/ports/x11/p5-Tk/Makefile,v retrieving revision 1.31 diff -u -p -r1.31 Makefile --- Makefile 4 Nov 2008 10:08:03 -0000 1.31 +++ Makefile 10 Nov 2008 18:36:21 -0000 @@ -8,7 +8,7 @@ COMMENT-demo= demonstrate the features o MODULES= cpan VERSION= 804.028 DISTNAME= Tk-${VERSION} -PKGNAME-main= p5-Tk-${VERSION}p0 +PKGNAME-main= p5-Tk-${VERSION}p1 PKGNAME-demo= p5-Tk-demo-${VERSION} CATEGORIES= x11 devel Index: patches/patch-pTk_mTk_generic_tk_h =================================================================== RCS file: patches/patch-pTk_mTk_generic_tk_h diff -N patches/patch-pTk_mTk_generic_tk_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-pTk_mTk_generic_tk_h 10 Nov 2008 18:36:21 -0000 @@ -0,0 +1,26 @@ +$OpenBSD$ +--- pTk/mTk/generic/tk.h.orig Mon Nov 10 18:27:40 2008 ++++ pTk/mTk/generic/tk.h Mon Nov 10 18:27:49 2008 +@@ -677,17 +677,15 @@ typedef struct Tk_GeomMgr { + * + *--------------------------------------------------------------------------- + */ +-#define VirtualEvent (LASTEvent) +-#define ActivateNotify (LASTEvent + 1) +-#define DeactivateNotify (LASTEvent + 2) +-#define MouseWheelEvent (LASTEvent + 3) +-#define TK_LASTEVENT (LASTEvent + 4) ++#define VirtualEvent (MappingNotify + 1) ++#define ActivateNotify (MappingNotify + 2) ++#define DeactivateNotify (MappingNotify + 3) ++#define MouseWheelEvent (MappingNotify + 4) ++#define TK_LASTEVENT (MappingNotify + 5) + + #define MouseWheelMask (1L << 28) +- + #define ActivateMask (1L << 29) + #define VirtualEventMask (1L << 30) +-#define TK_LASTEVENT (LASTEvent + 4) + + + /*