Package: pyinotify
Severity: important
Tags: patch

Hi,

pyinotify currently fails to build m68k as it lacks the support for it.
The attached patch adds the necessary support. It adds the missing
system call numbers as they can also be found in the upstream sources.
Please apply, thanks.

bye, Roman

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-m68k-amiga
Locale: LANG=de_DE.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur pyinotify-0.5.2.org/debian/control pyinotify-0.5.2/debian/control
--- pyinotify-0.5.2.org/debian/control  2006-10-21 01:13:34.000000000 +0200
+++ pyinotify-0.5.2/debian/control      2006-10-21 14:21:31.000000000 +0200
@@ -25,7 +25,7 @@
 #       of "linux-".
 
 Package: python-pyinotify
-Architecture: alpha amd64 arm i386 ia64 powerpc ppc64 s390 sh sparc sparc64
+Architecture: alpha amd64 arm i386 ia64 m68k powerpc ppc64 s390 sh sparc 
sparc64
 Depends: ${python:Depends}, ${shlibs:Depends}
 Provides: ${python:Provides}
 Replaces: python2.3-pyinotify (<< 0.5.2-1.1), python2.4-pyinotify (<< 
0.5.2-1.1)
diff -ur pyinotify-0.5.2.org/src/pyinotify/inotify_syscalls.h 
pyinotify-0.5.2/src/pyinotify/inotify_syscalls.h
--- pyinotify-0.5.2.org/src/pyinotify/inotify_syscalls.h        2006-03-29 
03:37:36.000000000 +0200
+++ pyinotify-0.5.2/src/pyinotify/inotify_syscalls.h    2006-10-21 
01:30:25.000000000 +0200
@@ -73,6 +73,10 @@
 # define __NR_inotify_init     (__NR_Linux + 269)
 # define __NR_inotify_add_watch        (__NR_Linux + 270)
 # define __NR_inotify_rm_watch (__NR_Linux + 271)
+#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

Reply via email to