Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372892 Details for
Bug 487016
app-antivirus/clamav-0.98 - In file included from fan.c:38:0: fan-syscalllib.h:14:3: error: #error "System call numbers not defined for this architecture"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-clamd-Use-fanotify-syscall-numbers-from-unistd.h.patch (text/plain), 1.07 KB, created by
Matt Turner
on 2014-03-17 23:34:37 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2014-03-17 23:34:37 UTC
Size:
1.07 KB
patch
obsolete
>From 7fdd23c49e2e1dc5d9cee2be672a6508c48fa545 Mon Sep 17 00:00:00 2001 >From: Matt Turner <mattst88@gmail.com> >Date: Mon, 17 Mar 2014 16:33:12 -0700 >Subject: [PATCH] clamd: Use fanotify syscall numbers from unistd.h. > >unistd.h provides the per-platform syscall numbers, so there's no need >to define them ourselves. On top of that, the #error unnecessarily >causes the build to fail on other platforms, even though the syscall >numbers were available. >--- > clamd/fan-syscalllib.h | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > >diff --git a/clamd/fan-syscalllib.h b/clamd/fan-syscalllib.h >index 288cd99..c8a7a78 100644 >--- a/clamd/fan-syscalllib.h >+++ b/clamd/fan-syscalllib.h >@@ -4,13 +4,7 @@ > #include <unistd.h> > #include <linux/types.h> > >-#if defined(__x86_64__) >-# define __NR_fanotify_init 300 >-# define __NR_fanotify_mark 301 >-#elif defined(__i386__) >-# define __NR_fanotify_init 338 >-# define __NR_fanotify_mark 339 >-#else >+#if !defined __NR_fanotify_init || !defined __NR_fanotify_mark > # error "System call numbers not defined for this architecture" > #endif > >-- >1.8.3.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 487016
: 372892