--- /dev/null
+diff --git a/configure b/configure
+index cc79209..5f22d58 100755
+--- a/configure
++++ b/configure
+@@ -5019,9 +5019,6 @@ else
+ fi
+
+
+-INCLUDES="${INCLUDES} -I/usr/local/include"
+-
+-
+ if test "${ac_cv_c_compiler_gnu}" = "yes"; then
+ NORMAL_CFLAGS="\
+ -W \
--- /dev/null
+--- ./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)