From 42ad8625c39eb20ade45223be0f40c73e38eb3ea Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 19 Mar 2010 18:07:42 +0000 Subject: [PATCH] [package] fix sane-backends compilation on ARM platforms SVN-Revision: 20305 --- utils/sane-backends/patches/020-non-i386-qcam.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sane-backends/patches/020-non-i386-qcam.patch b/utils/sane-backends/patches/020-non-i386-qcam.patch index 1e1b631bde..2dbb7d87ed 100644 --- a/utils/sane-backends/patches/020-non-i386-qcam.patch +++ b/utils/sane-backends/patches/020-non-i386-qcam.patch @@ -4,7 +4,7 @@ #include "qcam.h" -+#ifndef __i386__ ++#if !defined( __i386__) && !defined(__arm__) +static inline unsigned char inb(unsigned int port) +{ + return 0; -- 2.30.2