From a0eb77c5155f7f26922f8dc11fb0f6565dbed7f8 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 19 Mar 2010 18:07:42 +0000 Subject: [PATCH] [package] fix sane-backends compilation on ARM platforms git-svn-id: svn://svn.openwrt.org/openwrt/packages@20305 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 1e1b631bd..2dbb7d87e 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;