6217b0adb6d610d5274ccb4f64127f8293187dd5
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sane-backends / 0002-remove-unsafe-headers-path.patch
1 From 3c03e4b81c9de73e57a56029f7f8cda8bec24e91 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Sat, 10 Jan 2015 15:48:21 +0100
4 Subject: [PATCH] configure.in: remove unsafe headers path
5
6 Forcing /usr/local/include headers path in CFLAGS is unsafe for
7 cross-compilation.
8
9 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
10 [Gustavo: update to just patch configure and avoid an autoreconf]
11 ---
12
13 diff -Nura sane-backends-1.0.24.orig/configure sane-backends-1.0.24/configure
14 --- sane-backends-1.0.24.orig/configure 2015-05-01 09:51:19.479785064 -0300
15 +++ sane-backends-1.0.24/configure      2015-05-01 09:51:48.411767378 -0300
16 @@ -5192,8 +5192,6 @@
17  fi
18  
19  
20 -INCLUDES="${INCLUDES} -I/usr/local/include"
21 -
22  
23  if test "${ac_cv_c_compiler_gnu}" = "yes"; then
24    NORMAL_CFLAGS="\