summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-28 20:56:35 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-28 20:56:35 +0000
commit517ad95cdbaa36dd09607663557fd780429b29c8 (patch)
treeefecc5660f31cd024473e9001f1b379e0e912a53 /media-libs/libgii/files
parentmarked stable on sparc (diff)
downloadgentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.tar.gz
gentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.tar.bz2
gentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.zip
Added 2.6 kernel headers patch; closes bug #39580.
Diffstat (limited to 'media-libs/libgii/files')
-rw-r--r--media-libs/libgii/files/libgii-linux-headers-2.6.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libgii/files/libgii-linux-headers-2.6.patch b/media-libs/libgii/files/libgii-linux-headers-2.6.patch
new file mode 100644
index 000000000000..71e210a68963
--- /dev/null
+++ b/media-libs/libgii/files/libgii-linux-headers-2.6.patch
@@ -0,0 +1,13 @@
+diff -ur libgii-0.8.1~old/input/linux_evdev/eventparse.c libgii-0.8.1/input/linux_evdev/eventparse.c
+--- libgii-0.8.1~old/input/linux_evdev/eventparse.c 2004-01-27 18:41:18.656312744 +0000
++++ libgii-0.8.1/input/linux_evdev/eventparse.c 2001-08-26 15:57:18.000000000 +0000
+@@ -28,6 +28,9 @@
+ #include linux_evdev.h
+ #include <errno.h>
+
++#ifndef EV_RST
++#define EV_RST EV_SYN
++#endif
+
+ static gii_event_mask
+ dispatch_pmove(struct gii_input *inp, struct input_event *event,