On Tue, Sep 30, 2008 at 08:26:38AM -0400, Stuart Cassoff wrote: > Now very much like the 8.5 port but with less frills. > - No threaded FLAVOR > - No README.OpenBSD > - Tk demos are still in ${LOCALBASE}/lib/tk8.4 - too much of pain to > move them. > - Blurb about 8.4.19 being the end of the line for 8.4 added to Tcl's DESCR. > - I took maintainership.
This seems to build fine for me on i386 after removing the old patches by hand. I can test on a few other architectures if you'd like. However the reason I'm sending this is because I've been seeing this problem with tk 8.4.7 recently: http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997 The problem is still present in 8.4.19. The upstream fix from the core-8-4 branch works for me with either 8.4.7 or 8.4.19 ports. The attached patch can be saved into the patches directory as patches/patch-generic_tk_h for either port, although ../ must be prepended to the paths in the diff header for 8.4.7. $OpenBSD$ --- generic/tk.h.orig Mon Apr 7 12:17:54 2008 +++ generic/tk.h Sat Oct 11 10:30:26 2008 @@ -635,18 +635,16 @@ 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 MouseWheelMask (1L << 28) +#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) - /* * A virtual event shares most of its fields with the XKeyEvent and