SOURCES: gamin-inotify.patch - fix for 0.1.5 (patch *almost* inclu...

freetz freetz at pld-linux.org
Sun Aug 14 11:22:01 CEST 2005


Author: freetz                       Date: Sun Aug 14 09:22:01 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix for 0.1.5 (patch *almost* included)

---- Files affected:
SOURCES:
   gamin-inotify.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gamin-inotify.patch
diff -u SOURCES/gamin-inotify.patch:1.1 SOURCES/gamin-inotify.patch:1.2
--- SOURCES/gamin-inotify.patch:1.1	Mon Aug  8 21:59:40 2005
+++ SOURCES/gamin-inotify.patch	Sun Aug 14 11:21:56 2005
@@ -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);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gamin-inotify.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list