From: florian Date: Fri, 19 Mar 2010 18:07:42 +0000 (+0000) Subject: [package] fix sane-backends compilation on ARM platforms X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=a0eb77c5155f7f26922f8dc11fb0f6565dbed7f8;p=packages.git [package] fix sane-backends compilation on ARM platforms git-svn-id: svn://svn.openwrt.org/openwrt/packages@20305 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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;