X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fdovecot%2F0001-zlib.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fdovecot%2F0001-zlib.patch;h=a6187bf0354e32fce9aac67328a01f4c31413f81;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/dovecot/0001-zlib.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/dovecot/0001-zlib.patch new file mode 100644 index 0000000..a6187bf --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/dovecot/0001-zlib.patch @@ -0,0 +1,24 @@ +SQLite does not depend on zlib + +Fixes build error when zlib target package is not present: +/home/br/br2/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/4.9.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lz + +Patch for configure.ac sent upstream: +http://www.dovecot.org/list/dovecot/2014-November/098634.html + +Here we patch ./configure instead because autoreconf is broken. + +Signed-off-by: Bernd Kuhls + +diff -uNr dovecot-2.2.15.org/configure dovecot-2.2.15/configure +--- dovecot-2.2.15.org/configure 2014-10-25 06:08:57.000000000 +0200 ++++ dovecot-2.2.15/configure 2014-11-08 10:08:53.430745198 +0100 +@@ -23865,7 +23865,7 @@ + ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default" + if test "x$ac_cv_header_sqlite3_h" = xyes; then : + +- SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz" ++ SQLITE_LIBS="$SQLITE_LIBS -lsqlite3" + + + $as_echo "#define HAVE_SQLITE /**/" >>confdefs.h