/[python-modules]/packages/pyinotify/trunk/debian/patches/m68k-syscalls.patch
ViewVC logotype

Contents of /packages/pyinotify/trunk/debian/patches/m68k-syscalls.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2549 - (show annotations) (download)
Sun Jun 17 05:30:03 2007 UTC (5 years, 11 months ago) by dottedmag-guest
File size: 1014 byte(s)
Added hppa-syscalls.patch, enabling compilation on hppa.
1 Index: pyinotify-0.7.0/src/pyinotify/inotify_syscalls.h
2 ===================================================================
3 --- pyinotify-0.7.0.orig/src/pyinotify/inotify_syscalls.h 2006-09-05 03:51:47.000000000 +0700
4 +++ pyinotify-0.7.0/src/pyinotify/inotify_syscalls.h 2007-06-17 12:25:25.000000000 +0700
5 @@ -41,6 +41,10 @@
6 # define __NR_inotify_init 318
7 # define __NR_inotify_add_watch 319
8 # define __NR_inotify_rm_watch 320
9 +#elif defined (__hppa__)
10 +# define __NR_inotify_init 269
11 +# define __NR_inotify_add_watch 270
12 +# define __NR_inotify_rm_watch 271
13 #elif defined (__mips__)
14 # define _MIPS_SIM_ABI32 1
15 # define _MIPS_SIM_NABI32 2
16 @@ -72,6 +76,10 @@
17 # define __NR_inotify_init (__NR_Linux + 269)
18 # define __NR_inotify_add_watch (__NR_Linux + 270)
19 # define __NR_inotify_rm_watch (__NR_Linux + 271)
20 +#elif defined (__mc68000__)
21 +# define __NR_inotify_init 284
22 +# define __NR_inotify_add_watch 285
23 +# define __NR_inotify_rm_watch 286
24 #else
25 # error "Unsupported architecture!"
26 #endif

  ViewVC Help
Powered by ViewVC 1.1.5