The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / rrdtool / 0002-configure-dont-hardcode-include-dirs.patch
1 [PATCH] configure.ac: don't hardcode include files search paths
2
3 Breaks cross compilation if host has libart/freetype.
4
5 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
6 ---
7  configure.ac |    4 ++--
8  1 file changed, 2 insertions(+), 2 deletions(-)
9
10 Index: rrdtool-1.2.30/configure.ac
11 ===================================================================
12 --- rrdtool-1.2.30.orig/configure.ac
13 +++ rrdtool-1.2.30/configure.ac
14 @@ -524,10 +524,10 @@
15  
16  CORE_LIBS="$LIBS"
17  
18 -EX_CHECK_ALL(art_lgpl_2, art_vpath_add_point,       libart_lgpl/libart.h,   libart-2.0,  2.3.17, ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/, /usr/include/libart-2.0)
19 +EX_CHECK_ALL(art_lgpl_2, art_vpath_add_point,       libart_lgpl/libart.h,   libart-2.0,  2.3.17, ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/, "")
20  EX_CHECK_ALL(z,          zlibVersion,               zlib.h,                 zlib,        1.2.3,  http://www.gzip.org/zlib/, "")
21  EX_CHECK_ALL(png,        png_access_version_number, png.h,                  libpng,      1.2.10,  http://prdownloads.sourceforge.net/libpng/, "")
22 -EX_CHECK_ALL(freetype,   FT_Init_FreeType,          ft2build.h,                    freetype2,   2.1.10,  http://prdownloads.sourceforge.net/freetype/, /usr/include/freetype2)
23 +EX_CHECK_ALL(freetype,   FT_Init_FreeType,          ft2build.h,                    freetype2,   2.1.10,  http://prdownloads.sourceforge.net/freetype/, "")
24  
25  if test "$EX_CHECK_ALL_ERR" = "YES"; then
26    AC_MSG_ERROR([Please fix the library issues listed above and try again.])