[packages] sane-backends: Fix build. Fixes #5689
[packages.git] / utils / sane-backends / patches / 010-dont-add-host-include-path.patch
diff --git a/utils/sane-backends/patches/010-dont-add-host-include-path.patch b/utils/sane-backends/patches/010-dont-add-host-include-path.patch
new file mode 100644 (file)
index 0000000..327348d
--- /dev/null
@@ -0,0 +1,14 @@
+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 \