libqmi: fix patch for canonicalize_file_name() issue
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 19:33:49 +0000 (21:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 19:35:42 +0000 (21:35 +0200)
commit4d11848a21d4424a04e8428c4cd3bd5e972aacdf
treecf525428a1a5cce093a05d20c15284beb6bac12f
parent97bebe2d00141bdd6613cbfa7990767468fb55b2
libqmi: fix patch for canonicalize_file_name() issue

The patch added in commit c78b65c4f161ec101ff02880788ef22eb7c87d76 was
bogus: it adds some code conditionally on HAVE_CANONICALIZE_FILE_NAME
being undefined, but there is nothing that defines
HAVE_CANONICALIZE_FILE_NAME if canonicalize_file_name() is already
provided by the C library.

This commit fixes that by adding the appropriate autoconf check.

Fixes:

  http://autobuild.buildroot.net/results/4f0eb2af09c92ff4cd7448211ffda432754d4e60/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libqmi/0001-musl-compat-canonicalize_file_name.patch
package/libqmi/libqmi.mk