summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2008-12-29 23:24:26 +0000
committerSteve Arnold <nerdboy@gentoo.org>2008-12-29 23:24:26 +0000
commit3899858812b25cd9d789c03aa293b049f0082f30 (patch)
treedc19adc5c56b2d4b7d39fac8dbc8638e8b433165 /dev-util/sourcenav/files
parentstable sparc, bug 251332 (diff)
downloadgentoo-2-3899858812b25cd9d789c03aa293b049f0082f30.tar.gz
gentoo-2-3899858812b25cd9d789c03aa293b049f0082f30.tar.bz2
gentoo-2-3899858812b25cd9d789c03aa293b049f0082f30.zip
Updated with Tk patch for xproto header changes (see bug #252700).
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.7 x86_64)
Diffstat (limited to 'dev-util/sourcenav/files')
-rw-r--r--dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch b/dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch
new file mode 100644
index 000000000000..9517af92ccb1
--- /dev/null
+++ b/dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch
@@ -0,0 +1,25 @@
+--- tk/generic/tk.h.orig 2008-12-29 12:55:34.381918897 -0800
++++ tk/generic/tk.h 2008-12-29 13:02:19.255919795 -0800
+@@ -557,17 +557,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)
+
+
+ /*