summaryrefslogtreecommitdiffstats
path: root/package/sane-backends/0003-remove-unsafe-headers-path.patch
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2015-01-10 16:51:52 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-01 23:17:19 +0100
commit89fc70a5ca1d9527aec09df1707eb0d4ed609ae1 (patch)
treefbd3c3254b571b52b7284e402e4a721fff2f7ea8 /package/sane-backends/0003-remove-unsafe-headers-path.patch
parent61c3fbd10bee7784d871b84412aa9d488040a4f3 (diff)
downloadbuildroot-89fc70a5ca1d9527aec09df1707eb0d4ed609ae1.tar.gz
buildroot-89fc70a5ca1d9527aec09df1707eb0d4ed609ae1.zip
package/sane-backends: remove unsafe headers path
Fixes: http://autobuild.buildroot.net/results/deb/deb3d45416633b9217d3cc09664273687c809464/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sane-backends/0003-remove-unsafe-headers-path.patch')
-rw-r--r--package/sane-backends/0003-remove-unsafe-headers-path.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/sane-backends/0003-remove-unsafe-headers-path.patch b/package/sane-backends/0003-remove-unsafe-headers-path.patch
new file mode 100644
index 0000000000..29b8d0443a
--- /dev/null
+++ b/package/sane-backends/0003-remove-unsafe-headers-path.patch
@@ -0,0 +1,28 @@
+From 3c03e4b81c9de73e57a56029f7f8cda8bec24e91 Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@openwide.fr>
+Date: Sat, 10 Jan 2015 15:48:21 +0100
+Subject: [PATCH] configure.in: remove unsafe headers path
+
+Forcing /usr/local/include headers path in CFLAGS is unsafe for
+cross-compilation.
+
+Signed-off-by: Romain Naour <romain.naour@openwide.fr>
+---
+ configure.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index a8fc950..93a4b77 100644
+--- a/configure.in
++++ b/configure.in
+@@ -82,7 +82,6 @@ AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
+ dnl ***********************************************************************
+ dnl set compiler/linker flags
+ dnl ***********************************************************************
+-INCLUDES="${INCLUDES} -I/usr/local/include"
+ AC_SUBST(INCLUDES)
+ SANE_SET_CFLAGS([$is_release])
+ SANE_SET_LDFLAGS
+--
+1.9.3
+
OpenPOWER on IntegriCloud