summaryrefslogtreecommitdiffstats
path: root/main/clamav/arm.patch
blob: d503679b7cb004f08a4a9957c72d74ff362efe28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://raw.github.com/archlinuxarm/PKGBUILDs/master/extra/clamav/arm.patch

diff -urN a/clamd/fan-syscalllib.h b/clamd/fan-syscalllib.h
--- a/clamd/fan-syscalllib.h	2013-09-16 13:28:14.000000000 -0600
+++ b/clamd/fan-syscalllib.h	2013-09-19 21:29:47.314868930 -0600
@@ -10,6 +10,9 @@
 #elif defined(__i386__)
 # define __NR_fanotify_init	338
 # define __NR_fanotify_mark	339
+#elif defined(__ARM_EABI__)
+# define __NR_fanotify_init	367
+# define __NR_fanotify_mark	368
 #else
 # error "System call numbers not defined for this architecture"
 #endif