summaryrefslogtreecommitdiff
path: root/debian/patches/60_m68k_inotify_fix.diff
blob: 4e1c7c7258374b44c7f16fafacf24cbf5ae23ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
author: Brian Nelson <pyro@debian.org>

From Roman Zippel <zippel@linux-m68k.org>: These defines are taken from the
m68k tree, they should appear like this soon also in the upstream source.

--- a/src/corelib/io/qfilesystemwatcher_inotify.cpp
+++ b/src/corelib/io/qfilesystemwatcher_inotify.cpp
@@ -103,6 +103,10 @@
 # define __NR_inotify_init      269
 # define __NR_inotify_add_watch 270
 # define __NR_inotify_rm_watch  271
+#elif defined (__mc68000__)
+# define __NR_inotify_init      284
+# define __NR_inotify_add_watch 285
+# define __NR_inotify_rm_watch  286
 #else
 # error "This architecture is not supported. Please talk to qt-bugs@trolltech.com"
 #endif