- fix listbox handling with new xproto
from giovanni, thanks!
This commit is contained in:
parent
2787d9cabd
commit
aa77ea4a0d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2008/11/04 10:08:03 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2008/11/12 09:58:15 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -8,7 +8,7 @@ COMMENT-demo= demonstrate the features of ptk
|
||||
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
|
||||
|
||||
|
29
x11/p5-Tk/patches/patch-pTk_mTk_generic_tk_h
Normal file
29
x11/p5-Tk/patches/patch-pTk_mTk_generic_tk_h
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-pTk_mTk_generic_tk_h,v 1.1 2008/11/12 09:58:16 jasper Exp $
|
||||
|
||||
Fix with new xproto.
|
||||
|
||||
--- 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)
|
||||
|
||||
|
||||
/*
|
Loading…
x
Reference in New Issue
Block a user