summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 05:30:05 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-01-31 05:30:05 +0000
commit394955be96e7bcf9746a058cb025c697f7bcc0d1 (patch)
tree95d5345868f7035420baf23109028c293c1a8316 /x11-drivers
parentClean up. (diff)
downloadgentoo-2-394955be96e7bcf9746a058cb025c697f7bcc0d1.tar.gz
gentoo-2-394955be96e7bcf9746a058cb025c697f7bcc0d1.tar.bz2
gentoo-2-394955be96e7bcf9746a058cb025c697f7bcc0d1.zip
Clean up.
(Portage version: 2.1.4)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-evdev/ChangeLog8
-rw-r--r--x11-drivers/xf86-input-evdev/files/1.1.2-CVS-20060520.patch382
-rw-r--r--x11-drivers/xf86-input-evdev/files/1.1.2-absolute-axis-fix.patch11
-rw-r--r--x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r16
-rw-r--r--x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r26
-rw-r--r--x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch24
-rw-r--r--x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r1.ebuild20
-rw-r--r--x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r2.ebuild23
8 files changed, 7 insertions, 473 deletions
diff --git a/x11-drivers/xf86-input-evdev/ChangeLog b/x11-drivers/xf86-input-evdev/ChangeLog
index 69b5b9224211..9745257afb13 100644
--- a/x11-drivers/xf86-input-evdev/ChangeLog
+++ b/x11-drivers/xf86-input-evdev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-drivers/xf86-input-evdev
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/ChangeLog,v 1.72 2008/01/13 09:38:01 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/ChangeLog,v 1.73 2008/01/31 05:30:04 dberkholz Exp $
+
+ 31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
+ -files/xf86-input-evdev-1.1.2-mips-syscalls.patch,
+ -files/1.1.2-CVS-20060520.patch, -files/1.1.2-absolute-axis-fix.patch,
+ -xf86-input-evdev-1.1.2-r1.ebuild, -xf86-input-evdev-1.1.2-r2.ebuild:
+ Clean up.
13 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>;
xf86-input-evdev-1.2.0.ebuild:
diff --git a/x11-drivers/xf86-input-evdev/files/1.1.2-CVS-20060520.patch b/x11-drivers/xf86-input-evdev/files/1.1.2-CVS-20060520.patch
deleted file mode 100644
index c8546b1f58d2..000000000000
--- a/x11-drivers/xf86-input-evdev/files/1.1.2-CVS-20060520.patch
+++ /dev/null
@@ -1,382 +0,0 @@
-Index: ChangeLog
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/ChangeLog,v
-retrieving revision 1.26
-retrieving revision 1.28
-diff -u -B -r1.26 -r1.28
---- ChangeLog 30 Apr 2006 21:39:08 -0000 1.26
-+++ ChangeLog 15 May 2006 22:47:23 -0000 1.28
-@@ -1,3 +1,42 @@
-+2006-05-15 Zephaniah E. Hull,,, <warp@aehallh.com>
-+
-+ * src/evdev.h:
-+ Hopefully fix the bitops stuff to actually _work_.
-+
-+2006-05-14 Zephaniah E. Hull <warp@aehallh.com>
-+
-+ * man/evdev.man:
-+ Tweak credits and references.
-+ * src/evdev.c: (EvdevParseBits), (EvdevParseBitOption),
-+ (EvdevCorePreInit):
-+ Change the longs to unsigned longs in the bitfields.
-+
-+ Cleanup our includes.
-+ * src/evdev.h:
-+ Stop pulling in asm/types.h and asm/bitops.h.
-+
-+ Conditionally define the stuff that used to come from
-+ the above, including our own test_bit, set_bit and clear_bit.
-+
-+ Change the longs to unsigned longs in the bitfields.
-+ * src/evdev_axes.c: (EvdevAxisAbsNew), (EvdevAxisRelNew):
-+ Change the longs to unsigned longs in the bitfields.
-+
-+ Use the bitop defines in evdev.h properly.
-+ * src/evdev_brain.c: (MatchAll), (MatchNot), (MatchAny):
-+ Change the longs to unsigned longs in the bitfields.
-+ * src/evdev_btn.c: (EvdevBtnNew):
-+ Change the longs to unsigned longs in the bitfields.
-+
-+ Use the bitop defines in evdev.h properly.
-+ * src/evdev_key.c: (EvdevKeyNew):
-+ Change the longs to unsigned longs in the bitfields.
-+
-+ Use the bitop defines in evdev.h properly.
-+ * src/inotify-syscalls.h:
-+ Add HPPA/HPPA64 entries. (Thanks to Fabio M. Di Nitto
-+ <fabbione@ubuntu.com>)
-+
- 2006-04-30 Zephaniah E. Hull <warp@aehallh.com>
-
- * configure.ac:
-Index: man/evdev.man
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/man/evdev.man,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -B -r1.3 -r1.4
---- man/evdev.man 16 Mar 2006 13:05:04 -0000 1.3
-+++ man/evdev.man 14 May 2006 11:55:50 -0000 1.4
-@@ -312,16 +312,11 @@
- .BI "Option \*qXkbOptions\*q \*q" options \*q
- specifies the XKB keyboard option components. These can be used to
- enhance the keyboard behaviour. Default: not set.
--.PP
--Some other XKB-related options are available, but they are incompatible
--with the ones listed above and are not recommended, so they are not
--documented here.
-
--.TP 7
-+.PP
- .SH AUTHORS
--Kristian Høgsberg.
--.fi
- Zephaniah E. Hull.
-+.fi
-+Kristian Høgsberg.
- .SH "SEE ALSO"
--__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__),
--README.mouse.
-+__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__).
-Index: src/evdev.c
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev.c,v
-retrieving revision 1.18
-retrieving revision 1.19
-diff -u -B -r1.18 -r1.19
---- src/evdev.c 9 Apr 2006 00:41:42 -0000 1.18
-+++ src/evdev.c 14 May 2006 11:55:50 -0000 1.19
-@@ -61,8 +61,6 @@
- #include <X11/XF86keysym.h>
- #include <X11/extensions/XIproto.h>
-
--#include <string.h>
--
- #include "evdev.h"
-
- #include <xf86.h>
-@@ -328,7 +326,7 @@
- }
-
- static void
--EvdevParseBits (char *in, long *out, int len)
-+EvdevParseBits (char *in, unsigned long *out, int len)
- {
- unsigned long v[2];
- int n, i, max_bits = len * BITS_PER_LONG;
-@@ -351,7 +349,7 @@
- }
-
- static void
--EvdevParseBitOption (char *opt, long *all, long *not, long *any, int len)
-+EvdevParseBitOption (char *opt, unsigned long *all, unsigned long *not, unsigned long *any, int len)
- {
- char *cur, *next;
-
-@@ -395,7 +393,7 @@
- EvdevParseBitOption (tmp, pEvdev->all_bits.field, \
- pEvdev->not_bits.field, \
- pEvdev->any_bits.field, \
-- sizeof(pEvdev->not_bits.field) / sizeof (long)); \
-+ sizeof(pEvdev->not_bits.field) / sizeof (unsigned long)); \
- free (tmp); \
- }
- bitoption(ev);
-Index: src/evdev.h
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev.h,v
-retrieving revision 1.5
-retrieving revision 1.7
-diff -u -B -r1.5 -r1.7
---- src/evdev.h 14 Apr 2006 07:01:37 -0000 1.5
-+++ src/evdev.h 15 May 2006 22:47:23 -0000 1.7
-@@ -72,20 +72,29 @@
- #include <stdarg.h>
- #include <xf86Xinput.h>
-
--#define BITS_PER_LONG (sizeof(long) * 8)
-+#ifndef BITS_PER_LONG
-+#define BITS_PER_LONG (sizeof(unsigned long) * 8)
-+#endif
-+
- #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
--#define OFF(x) ((x)%BITS_PER_LONG)
- #define LONG(x) ((x)/BITS_PER_LONG)
--#define BIT(x) (1UL<<((x)%BITS_PER_LONG))
--#define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1)
-+#define MASK(x) (1UL << ((x) & (BITS_PER_LONG - 1)))
-+
-+#ifndef test_bit
-+#define test_bit(bit, array) (!!(array[LONG(bit)] & MASK(bit)))
-+#endif
-+#ifndef set_bit
-+#define set_bit(bit, array) (array[LONG(bit)] |= MASK(bit))
-+#endif
-+#ifndef clear_bit
-+#define clear_bit(bit, array) (array[LONG(bit)] &= ~MASK(bit))
-+#endif
-
- /* 2.4 compatibility */
- #ifndef EVIOCGSW
-
- #include <sys/time.h>
- #include <sys/ioctl.h>
--#include <asm/types.h>
--#include <asm/bitops.h>
-
- #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */
-
-@@ -128,14 +137,14 @@
- #define EVDEV_MAXBUTTONS 96
-
- typedef struct {
-- long ev[NBITS(EV_MAX)];
-- long key[NBITS(KEY_MAX)];
-- long rel[NBITS(REL_MAX)];
-- long abs[NBITS(ABS_MAX)];
-- long msc[NBITS(MSC_MAX)];
-- long led[NBITS(LED_MAX)];
-- long snd[NBITS(SND_MAX)];
-- long ff[NBITS(FF_MAX)];
-+ unsigned long ev[NBITS(EV_MAX)];
-+ unsigned long key[NBITS(KEY_MAX)];
-+ unsigned long rel[NBITS(REL_MAX)];
-+ unsigned long abs[NBITS(ABS_MAX)];
-+ unsigned long msc[NBITS(MSC_MAX)];
-+ unsigned long led[NBITS(LED_MAX)];
-+ unsigned long snd[NBITS(SND_MAX)];
-+ unsigned long ff[NBITS(FF_MAX)];
- } evdevBitsRec, *evdevBitsPtr;
-
- typedef struct {
-Index: src/evdev_axes.c
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev_axes.c,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -B -r1.3 -r1.4
---- src/evdev_axes.c 14 Apr 2006 07:01:37 -0000 1.3
-+++ src/evdev_axes.c 14 May 2006 11:55:50 -0000 1.4
-@@ -49,14 +49,6 @@
-
- #include <xf86_OSproc.h>
-
--#define ArrayLength(a) (sizeof(a) / (sizeof((a)[0])))
--
--#define BITS_PER_LONG (sizeof(long) * 8)
--#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
--#define OFF(x) ((x)%BITS_PER_LONG)
--#define LONG(x) ((x)/BITS_PER_LONG)
--#define TestBit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1)
--
- static char *rel_axis_names[] = {
- "X",
- "Y",
-@@ -328,7 +320,7 @@
-
- real_axes = 0;
- for (i = 0; i < ABS_MAX; i++)
-- if (TestBit (i, pEvdev->bits.abs))
-+ if (test_bit (i, pEvdev->bits.abs))
- real_axes++;
-
- if (!real_axes)
-@@ -344,7 +336,7 @@
- pInfo->conversion_proc = EvdevConvert;
-
- for (i = 0, j = 0; i < ABS_MAX; i++) {
-- if (!TestBit (i, pEvdev->bits.abs))
-+ if (!test_bit (i, pEvdev->bits.abs))
- continue;
-
- snprintf(option, sizeof(option), "%sAbsoluteAxisMap", abs_axis_names[i]);
-@@ -389,7 +381,7 @@
- xf86Msg(X_CONFIG, "%s: Unknown Mode: %s.\n", pInfo->name, s);
- }
-
-- if (TestBit (ABS_X, pEvdev->bits.abs) && TestBit (ABS_Y, pEvdev->bits.abs))
-+ if (test_bit (ABS_X, pEvdev->bits.abs) && test_bit (ABS_Y, pEvdev->bits.abs))
- k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", 0);
- else
- k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", -1);
-@@ -417,7 +409,7 @@
-
- real_axes = 0;
- for (i = 0; i < REL_MAX; i++)
-- if (TestBit (i, pEvdev->bits.rel))
-+ if (test_bit (i, pEvdev->bits.rel))
- real_axes++;
-
- if (!real_axes && (!state->abs || state->abs->axes < 2))
-@@ -434,7 +426,7 @@
- pInfo->conversion_proc = EvdevConvert;
-
- for (i = 0, j = 0; i < REL_MAX; i++) {
-- if (!TestBit (i, pEvdev->bits.rel))
-+ if (!test_bit (i, pEvdev->bits.rel))
- continue;
-
- snprintf(option, sizeof(option), "%sRelativeAxisMap", rel_axis_names[i]);
-Index: src/evdev_brain.c
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev_brain.c,v
-retrieving revision 1.8
-retrieving revision 1.9
-diff -u -B -r1.8 -r1.9
---- src/evdev_brain.c 30 Apr 2006 21:39:08 -0000 1.8
-+++ src/evdev_brain.c 14 May 2006 11:55:50 -0000 1.9
-@@ -86,7 +86,7 @@
- } evdevDevInfoRec, *evdevDevInfoPtr;
-
- static Bool
--MatchAll (long *dev, long *match, int len)
-+MatchAll (unsigned long *dev, unsigned long *match, int len)
- {
- int i;
-
-@@ -98,7 +98,7 @@
- }
-
- static Bool
--MatchNot (long *dev, long *match, int len)
-+MatchNot (unsigned long *dev, unsigned long *match, int len)
- {
- int i;
-
-@@ -110,7 +110,7 @@
- }
-
- static Bool
--MatchAny (long *dev, long *match, int len)
-+MatchAny (unsigned long *dev, unsigned long *match, int len)
- {
- int i, found = 0;
-
-Index: src/evdev_btn.c
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev_btn.c,v
-retrieving revision 1.7
-retrieving revision 1.8
-diff -u -B -r1.7 -r1.8
---- src/evdev_btn.c 14 Apr 2006 07:01:37 -0000 1.7
-+++ src/evdev_btn.c 14 May 2006 11:55:50 -0000 1.8
-@@ -51,15 +51,6 @@
-
- #include <xf86Module.h>
-
--
--#define ArrayLength(a) (sizeof(a) / (sizeof((a)[0])))
--
--#define BITS_PER_LONG (sizeof(long) * 8)
--#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
--#define OFF(x) ((x)%BITS_PER_LONG)
--#define LONG(x) ((x)/BITS_PER_LONG)
--#define TestBit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1)
--
- void
- EvdevBtnPostFakeClicks(InputInfoPtr pInfo, int button, int count)
- {
-@@ -186,7 +177,7 @@
- state->btn = Xcalloc (sizeof (evdevBtnRec));
-
- for (i = BTN_MISC; i < (KEY_OK - 1); i++)
-- if (TestBit (i, pEvdev->bits.key)) {
-+ if (test_bit (i, pEvdev->bits.key)) {
- bit = i;
- if ((bit >= BTN_MOUSE) && (bit < BTN_JOYSTICK)) {
- bit -= BTN_MOUSE - BTN_MISC;
-Index: src/evdev_key.c
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/evdev_key.c,v
-retrieving revision 1.8
-retrieving revision 1.9
-diff -u -B -r1.8 -r1.9
---- src/evdev_key.c 8 Apr 2006 17:23:06 -0000 1.8
-+++ src/evdev_key.c 14 May 2006 11:55:50 -0000 1.9
-@@ -81,11 +81,6 @@
-
-
- #define ArrayLength(a) (sizeof(a) / (sizeof((a)[0])))
--#define BITS_PER_LONG (sizeof(long) * 8)
--#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
--#define OFF(x) ((x)%BITS_PER_LONG)
--#define LONG(x) ((x)/BITS_PER_LONG)
--#define TestBit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1)
-
- #define MIN_KEYCODE 8
- #define GLYPHS_PER_KEY 2
-@@ -356,13 +351,13 @@
- int i, keys = 0;
-
- for (i = 0; i <= KEY_UNKNOWN; i++)
-- if (TestBit (i, pEvdev->bits.key)) {
-+ if (test_bit (i, pEvdev->bits.key)) {
- keys = 1;
- break;
- }
- if (!keys)
- for (i = KEY_OK; i <= KEY_MAX; i++)
-- if (TestBit (i, pEvdev->bits.key)) {
-+ if (test_bit (i, pEvdev->bits.key)) {
- keys = 1;
- break;
- }
-Index: src/inotify-syscalls.h
-===================================================================
-RCS file: /cvs/xorg/driver/xf86-input-evdev/src/inotify-syscalls.h,v
-retrieving revision 1.1
-retrieving revision 1.2
-diff -u -B -r1.1 -r1.2
---- src/inotify-syscalls.h 8 Apr 2006 21:55:17 -0000 1.1
-+++ src/inotify-syscalls.h 14 May 2006 11:55:50 -0000 1.2
-@@ -39,6 +39,10 @@
- # define __NR_inotify_init 290
- # define __NR_inotify_add_watch 291
- # define __NR_inotify_rm_watch 292
-+#elif defined (__hppa__) || defined (__hppa64__)
-+# define __NR_inotify_init 269
-+# define __NR_inotify_add_watch 270
-+# define __NR_inotify_rm_watch 271
- #else
- # error "Unsupported architecture!"
- #endif
diff --git a/x11-drivers/xf86-input-evdev/files/1.1.2-absolute-axis-fix.patch b/x11-drivers/xf86-input-evdev/files/1.1.2-absolute-axis-fix.patch
deleted file mode 100644
index a714e9deaad1..000000000000
--- a/x11-drivers/xf86-input-evdev/files/1.1.2-absolute-axis-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/evdev_axes.c
-+++ b/src/evdev_axes.c
-@@ -385,7 +385,7 @@ EvdevAxisAbsNew(InputInfoPtr pInfo)
- k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", 0);
- else
- k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", -1);
-- if (k < screenInfo.numScreens) {
-+ if (k < screenInfo.numScreens && k >= 0) {
- state->abs->screen = k;
- xf86Msg(X_CONFIG, "%s: AbsoluteScreen: %d.\n", pInfo->name, k);
- } else {
diff --git a/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r1 b/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r1
deleted file mode 100644
index 18222ed941e4..000000000000
--- a/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 1b8cfd2923836ee93eda69abe50dda04 x11-driver-patches-1.tar.bz2 389
-RMD160 0c57d4b235d83f3d7c46691c13857fd121ddec2d x11-driver-patches-1.tar.bz2 389
-SHA256 64787d5b57d2845c0fa9297a9d924093ba191fc3551798239d9983f0bcca9b3e x11-driver-patches-1.tar.bz2 389
-MD5 2932a39f080bae68bbcdc11fc125d990 xf86-input-evdev-1.1.2.tar.bz2 225390
-RMD160 de528edf7a127959158460c3d557b886af579444 xf86-input-evdev-1.1.2.tar.bz2 225390
-SHA256 8b479702f61e6798a3dca73bad2f2053082a157e1608d9d87f0a2f1d91e75b95 xf86-input-evdev-1.1.2.tar.bz2 225390
diff --git a/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r2 b/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r2
deleted file mode 100644
index 18222ed941e4..000000000000
--- a/x11-drivers/xf86-input-evdev/files/digest-xf86-input-evdev-1.1.2-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 1b8cfd2923836ee93eda69abe50dda04 x11-driver-patches-1.tar.bz2 389
-RMD160 0c57d4b235d83f3d7c46691c13857fd121ddec2d x11-driver-patches-1.tar.bz2 389
-SHA256 64787d5b57d2845c0fa9297a9d924093ba191fc3551798239d9983f0bcca9b3e x11-driver-patches-1.tar.bz2 389
-MD5 2932a39f080bae68bbcdc11fc125d990 xf86-input-evdev-1.1.2.tar.bz2 225390
-RMD160 de528edf7a127959158460c3d557b886af579444 xf86-input-evdev-1.1.2.tar.bz2 225390
-SHA256 8b479702f61e6798a3dca73bad2f2053082a157e1608d9d87f0a2f1d91e75b95 xf86-input-evdev-1.1.2.tar.bz2 225390
diff --git a/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch b/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch
deleted file mode 100644
index d1a6498e8fc7..000000000000
--- a/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naurp xf86-input-evdev-1.1.2.orig/src/inotify-syscalls.h xf86-input-evdev-1.1.2/src/inotify-syscalls.h
---- xf86-input-evdev-1.1.2.orig/src/inotify-syscalls.h 2006-06-22 13:24:32.000000000 -0400
-+++ xf86-input-evdev-1.1.2/src/inotify-syscalls.h 2006-06-22 13:44:19.000000000 -0400
-@@ -43,6 +43,20 @@
- # define __NR_inotify_init 269
- # define __NR_inotify_add_watch 270
- # define __NR_inotify_rm_watch 271
-+#elif defined (__mips__)
-+# if _MIPS_SIM == _MIPS_SIM_ABI32
-+# define __NR_inotify_init 4284
-+# define __NR_inotify_add_watch 4285
-+# define __NR_inotify_rm_watch 4286
-+# elif _MIPS_SIM == _MIPS_SIM_NABI32
-+# define __NR_inotify_init 6247
-+# define __NR_inotify_add_watch 6248
-+# define __NR_inotify_rm_watch 6249
-+# elif _MIPS_SIM == _MIPS_SIM_ABI64
-+# define __NR_inotify_init 5243
-+# define __NR_inotify_add_watch 5244
-+# define __NR_inotify_rm_watch 5245
-+# endif
- #else
- # error "Unsupported architecture!"
- #endif
diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r1.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r1.ebuild
deleted file mode 100644
index 0b2101bd13db..000000000000
--- a/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r1.ebuild,v 1.11 2006/10/11 00:27:01 dberkholz Exp $
-
-# Must be before x-modular eclass is inherited
-#SNAPSHOT="yes"
-
-inherit x-modular
-
-DESCRIPTION="Generic Linux input driver"
-KEYWORDS="alpha ~amd64 arm hppa ia64 mips ppc ppc64 sh sparc ~x86"
-RDEPEND="x11-base/xorg-server"
-DEPEND="${RDEPEND}
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- x11-proto/inputproto
- x11-proto/randrproto
- x11-proto/xproto"
-
-PATCHES="${FILESDIR}/${PV}-CVS-20060520.patch
- ${FILESDIR}/${P}-mips-syscalls.patch"
diff --git a/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r2.ebuild b/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r2.ebuild
deleted file mode 100644
index 5e7f435a8c59..000000000000
--- a/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r2.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-evdev/xf86-input-evdev-1.1.2-r2.ebuild,v 1.10 2006/12/01 18:19:58 gustavoz Exp $
-
-# Must be before x-modular eclass is inherited
-#SNAPSHOT="yes"
-
-inherit x-modular
-
-DESCRIPTION="Generic Linux input driver"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
-
-RDEPEND="x11-base/xorg-server"
-DEPEND="${RDEPEND}
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- x11-proto/inputproto
- x11-proto/randrproto
- x11-proto/xproto"
-
-PATCHES="${FILESDIR}/${PV}-CVS-20060520.patch
- ${FILESDIR}/${P}-mips-syscalls.patch
- ${FILESDIR}/${PV}-absolute-axis-fix.patch"