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
commitcbb70273dce81266a42def4c1d83ec527c4d9597 (patch)
treeb41117a37e3f8ea4d987a7f7940e7fc99f07e827 /media-libs/libgii/files
parentmarked stable on sparc (diff)
downloadhistorical-cbb70273dce81266a42def4c1d83ec527c4d9597.tar.gz
historical-cbb70273dce81266a42def4c1d83ec527c4d9597.tar.bz2
historical-cbb70273dce81266a42def4c1d83ec527c4d9597.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,