Created attachment 169935 [details] patch to fix build of math/matio with hdf5 1.10 When science/hdf5 was upgraded to version 1.10, it broke the math/matio build. libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -O2 -pipe -fs tack-protector -fno-strict-aliasing -c mat73.c -fPIC -DPIC -o .libs/mat73.o mat73.c:599:69: error: too few arguments to function call, expected 4, have 3 ref_id = H5Rdereference(dset_id,H5R_OBJECT,ref_ids+i); ~~~~~~~~~~~~~~ ^ The attached patch fixes the build.
Approved, thanks for the fix!
A commit references this bug: Author: truckman Date: Fri May 6 19:18:41 UTC 2016 New revision: 414720 URL: https://svnweb.freebsd.org/changeset/ports/414720 Log: Fix build with science/hdf5 version 1.10 by specifying that we want to use the version 1.8 API. PR: 209242 Approved by: makc (maintainer) Changes: head/math/matio/files/ head/math/matio/files/patch-configure
This problem was fixed by the patch committed in r414720 which tells the port to specifically request the version 1.8 API. It doesn't require any changes to hdf5.