This PR adds another patch to the vendored version of the netcdf source code to replace the strlcat symbol with vendored version to prevent duplicated symbols at the linking stage if any other dependency also includes a vendored version of strlcat. This is essentially https://github.com/Unidata/netcdf-c/pull/2906, but adjusted to the vendored version (the function definition is in a different file). I found this issue while working on the CI setup for https://github.com/georust/gdal/pull/517 (that PR is essentially blocked on this one now…)
This PR adds another patch to the vendored version of the netcdf source code to replace the
strlcat
symbol with vendored version to prevent duplicated symbols at the linking stage if any other dependency also includes a vendored version ofstrlcat
. This is essentially https://github.com/Unidata/netcdf-c/pull/2906, but adjusted to the vendored version (the function definition is in a different file). I found this issue while working on the CI setup for https://github.com/georust/gdal/pull/517 (that PR is essentially blocked on this one now…)