[packages] sane-backends: Fix build. Fixes #5689

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19679 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars
2010-02-16 23:31:57 +00:00
parent ed9def3bab
commit fe91b67651
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- ./backend/qcam.c.orig 2009-12-01 06:11:04.000000000 +0000
+++ ./backend/qcam.c 2009-12-01 15:12:40.000000000 +0000
@@ -105,6 +105,17 @@
#include "qcam.h"
+#ifndef __i386__
+static inline unsigned char inb(unsigned int port)
+{
+ return 0;
+}
+
+static inline void outb(unsigned char value, unsigned int port)
+{
+}
+#endif
+
/* status bits */
#define NeedRamTable (1 << 1)
#define BlackBalanceInProgress (1 << 6)