diff options
author | Stephen Becker <geoman@gentoo.org> | 2006-06-22 21:50:02 +0000 |
---|---|---|
committer | Stephen Becker <geoman@gentoo.org> | 2006-06-22 21:50:02 +0000 |
commit | 043fc6231db89a749fa0fc28e8ab4de94a67472c (patch) | |
tree | ebfac107a30309975c39624b33f0ed7cf8a0f18d /x11-drivers/xf86-input-evdev/files | |
parent | Fixed bug #136675 (gcc-4). (diff) | |
download | gentoo-2-043fc6231db89a749fa0fc28e8ab4de94a67472c.tar.gz gentoo-2-043fc6231db89a749fa0fc28e8ab4de94a67472c.tar.bz2 gentoo-2-043fc6231db89a749fa0fc28e8ab4de94a67472c.zip |
add a patch to fix build error due to lack of mips define in src/inotify-syscalls.h
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'x11-drivers/xf86-input-evdev/files')
-rw-r--r-- | x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch | 24 |
1 files changed, 24 insertions, 0 deletions
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 new file mode 100644 index 000000000000..d1a6498e8fc7 --- /dev/null +++ b/x11-drivers/xf86-input-evdev/files/xf86-input-evdev-1.1.2-mips-syscalls.patch @@ -0,0 +1,24 @@ +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 |