From: | "Federico Ferri (mescalinum)" <mescalinum@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/tk/files: tk-8.4-lastevent.patch |
Date: | Mon, 27 Oct 2008 20:27:19 |
Message-Id: | E1KuYgF-0006bC-S9@stork.gentoo.org |
1 | mescalinum 08/10/27 20:27:15 |
2 | |
3 | Added: tk-8.4-lastevent.patch |
4 | Log: |
5 | adding patch 8.4-lastevent, fixes bug #225999 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-lang/tk/files/tk-8.4-lastevent.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/files/tk-8.4-lastevent.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/files/tk-8.4-lastevent.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: tk-8.4-lastevent.patch |
15 | =================================================================== |
16 | Source: Jeffrey Gardner (je_fro) <jeffrey.e.gardner@×××××××.net> - http://overlays.gentoo.org/dev/je_fro/browser/dev-lang/tk/files/tk-8.4-lastevent.patch |
17 | Upstream: N/A |
18 | Reason: Fix ABI incompatibility introduced by x11-proto/xproto-7.0.13 (bug #225999) |
19 | --- generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100 |
20 | +++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200 |
21 | @@ -635,17 +635,15 @@ |
22 | * |
23 | *--------------------------------------------------------------------------- |
24 | */ |
25 | -#define VirtualEvent (LASTEvent) |
26 | -#define ActivateNotify (LASTEvent + 1) |
27 | -#define DeactivateNotify (LASTEvent + 2) |
28 | -#define MouseWheelEvent (LASTEvent + 3) |
29 | -#define TK_LASTEVENT (LASTEvent + 4) |
30 | +#define VirtualEvent (MappingNotify + 1) |
31 | +#define ActivateNotify (MappingNotify + 2) |
32 | +#define DeactivateNotify (MappingNotify + 3) |
33 | +#define MouseWheelEvent (MappingNotify + 4) |
34 | +#define TK_LASTEVENT (MappingNotify + 5) |
35 | |
36 | #define MouseWheelMask (1L << 28) |
37 | - |
38 | #define ActivateMask (1L << 29) |
39 | #define VirtualEventMask (1L << 30) |
40 | -#define TK_LASTEVENT (LASTEvent + 4) |
41 | |
42 | |
43 | /* |