From a4bdada58e18cf1fc6e6c4b1d8ad09478b20902d Mon Sep 17 00:00:00 2001 From: freetz Date: Sun, 14 Aug 2005 09:21:56 +0000 Subject: - fix for 0.1.5 (patch *almost* included) Changed files: gamin-inotify.patch -> 1.2 diff --git a/gamin-inotify.patch b/gamin-inotify.patch index 19fae72..3848d31 100644 --- a/gamin-inotify.patch +++ b/gamin-inotify.patch @@ -1,28 +1,12 @@ -diff -urN gamin-0.1.3.org/server/local_inotify_syscalls.h gamin-0.1.3/server/local_inotify_syscalls.h ---- gamin-0.1.3.org/server/local_inotify_syscalls.h 2005-07-21 18:43:43.000000000 +0200 -+++ gamin-0.1.3/server/local_inotify_syscalls.h 2005-08-08 21:44:42.000000000 +0200 -@@ -11,11 +11,23 @@ - # define __NR_inotify_init 253 - # define __NR_inotify_add_watch 254 - # define __NR_inotify_rm_watch 255 -+#elif defined(__alpha__) -+# define __NR_inotify_init 444 -+# define __NR_inotify_add_watch 445 -+# define __NR_inotify_rm_watch 446 -+#elif defined(__ppc__) -+# define __NR_inotify_init 275 -+# define __NR_inotify_add_watch 276 -+# define __NR_inotify_rm_watch 277 -+#elif defined(__sparc__) -+# define __NR_inotify_init 151 -+# define __NR_inotify_add_watch 152 -+# define __NR_inotify_rm_watch 156 - #else +diff -aurN gamin-0.1.5.orig/server/local_inotify_syscalls.h gamin-0.1.5/server/local_inotify_syscalls.h +--- gamin-0.1.5.orig/server/local_inotify_syscalls.h 2005-08-09 16:56:43.000000000 +0200 ++++ gamin-0.1.5/server/local_inotify_syscalls.h 2005-08-14 11:11:38.000000000 +0200 +@@ -35,7 +35,7 @@ # warning "Unsupported architecture" #endif --#if defined(__i386__) || defined(__x86_64) -+#if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__) +-#if defined(__i386__) || defined(__x86_64) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || defined(__s390__) ++#if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || defined(__s390__) static inline int inotify_init (void) { return syscall (__NR_inotify_init); -- cgit v0.10.2