summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfreetz2005-08-14 09:21:56 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commita4bdada58e18cf1fc6e6c4b1d8ad09478b20902d (patch)
tree1b58dc24e7fe45e35bb2f56ebf72f281fe56e7fa
parentbb22d4cf19d82bbcbbd806aa2d3751054e9c8b48 (diff)
downloadgamin-a4bdada58e18cf1fc6e6c4b1d8ad09478b20902d.zip
gamin-a4bdada58e18cf1fc6e6c4b1d8ad09478b20902d.tar.gz
- fix for 0.1.5 (patch *almost* included)auto/ac/gamin-0_1_5-1
Changed files: gamin-inotify.patch -> 1.2
-rw-r--r--gamin-inotify.patch28
1 files changed, 6 insertions, 22 deletions
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);