]> git.pld-linux.org Git - packages/gamin.git/commitdiff
- enable inotify on alpha/sparc/ppc
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 8 Aug 2005 19:59:40 +0000 (19:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gamin-inotify.patch -> 1.1

gamin-inotify.patch [new file with mode: 0644]

diff --git a/gamin-inotify.patch b/gamin-inotify.patch
new file mode 100644 (file)
index 0000000..19fae72
--- /dev/null
@@ -0,0 +1,28 @@
+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
+ # warning "Unsupported architecture"
+ #endif
+-#if defined(__i386__) || defined(__x86_64)
++#if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__)
+ static inline int inotify_init (void)
+ {
+       return syscall (__NR_inotify_init);
This page took 0.09994 seconds and 4 git commands to generate.