diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2008-10-27 20:27:15 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2008-10-27 20:27:15 +0000 |
commit | 2d36e87b21aa95ea77395b75d94a16dd7a1f3c61 (patch) | |
tree | 689bbc1130eb85e4693d30e58c2290789927ef44 /dev-lang/tk/files | |
parent | amd64/x86 stable, bug #244535 (diff) | |
download | gentoo-2-2d36e87b21aa95ea77395b75d94a16dd7a1f3c61.tar.gz gentoo-2-2d36e87b21aa95ea77395b75d94a16dd7a1f3c61.tar.bz2 gentoo-2-2d36e87b21aa95ea77395b75d94a16dd7a1f3c61.zip |
adding patch 8.4-lastevent, fixes bug #225999
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-lang/tk/files')
-rw-r--r-- | dev-lang/tk/files/tk-8.4-lastevent.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-lang/tk/files/tk-8.4-lastevent.patch b/dev-lang/tk/files/tk-8.4-lastevent.patch new file mode 100644 index 000000000000..f93d335bf964 --- /dev/null +++ b/dev-lang/tk/files/tk-8.4-lastevent.patch @@ -0,0 +1,28 @@ +Source: Jeffrey Gardner (je_fro) <jeffrey.e.gardner@comcast.net> - http://overlays.gentoo.org/dev/je_fro/browser/dev-lang/tk/files/tk-8.4-lastevent.patch +Upstream: N/A +Reason: Fix ABI incompatibility introduced by x11-proto/xproto-7.0.13 (bug #225999) +--- generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100 ++++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200 +@@ -635,17 +635,15 @@ + * + *--------------------------------------------------------------------------- + */ +-#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) + + + /* |