summaryrefslogtreecommitdiff
path: root/debian/patches/60_m68k_inotify_fix.diff
blob: 89bc4e0272e1e6db82c029f268f81ba4461c8b0d (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.

--- qt4-x11-4.3.2.orig/src/corelib/io/qfilesystemwatcher_inotify.cpp
+++ qt4-x11-4.3.2/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