diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-01-07 17:44:59 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-01-07 17:44:59 +0000 |
commit | bd095fa1bddc0a4d1b6fb5d3217fe246f6f00776 (patch) | |
tree | 94161a2269c44e8d34889103f7b9dda8c43f4e4e /main/clamav/arm.patch | |
parent | c927843378bfdb93e6537e6a9ace86d681b28040 (diff) | |
download | aports-bd095fa1bddc0a4d1b6fb5d3217fe246f6f00776.tar.bz2 aports-bd095fa1bddc0a4d1b6fb5d3217fe246f6f00776.tar.xz |
main/clamav: fix arm build
Diffstat (limited to 'main/clamav/arm.patch')
-rw-r--r-- | main/clamav/arm.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/clamav/arm.patch b/main/clamav/arm.patch new file mode 100644 index 0000000000..d503679b7c --- /dev/null +++ b/main/clamav/arm.patch @@ -0,0 +1,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 |