diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-30 12:55:29 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-06-30 12:55:29 +0000 |
commit | d4e56ff4dc8a0528550eb8503956bdcddb2fe516 (patch) | |
tree | 2d6f8114da90ab526a5d7595c55ad8559de64366 /package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch | |
parent | af593cbceefb461c8c089395ff257c05cd290af7 (diff) |
packages: fix xorg to compile modular and tiny versions
Based on googlecode r558 by John Voltz.
Diffstat (limited to 'package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch')
-rw-r--r-- | package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch b/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch new file mode 100644 index 000000000..a70832568 --- /dev/null +++ b/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev-1.1.2-20-add-inotify-architectures.patch @@ -0,0 +1,29 @@ +Index: xserver-xorg-input-evdev/src/inotify-syscalls.h +=================================================================== +--- xserver-xorg-input-evdev.orig/src/inotify-syscalls.h 2006-11-01 19:37:12.000000000 +1100 ++++ xserver-xorg-input-evdev/src/inotify-syscalls.h 2006-11-01 19:59:51.000000000 +1100 +@@ -43,6 +43,24 @@ + # 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 ++#elif defined (__mc68000__) ++# define __NR_inotify_init 284 ++# define __NR_inotify_add_watch 285 ++# define __NR_inotify_rm_watch 286 + #else + # error "Unsupported architecture!" + #endif |