diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-07 03:18:41 +0800 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-07 03:18:41 +0800 |
commit | 699c18a5fac0ccf6e1c865abc9ca257f36788a91 (patch) | |
tree | b8fba6e2a579acc0a7b0513b490d0164d27725c1 /math | |
parent | bae7ba4dc048d86d42ee36e75616c6342c26accc (diff) | |
download | freebsd-ports-gnome-699c18a5fac0ccf6e1c865abc9ca257f36788a91.tar.gz freebsd-ports-gnome-699c18a5fac0ccf6e1c865abc9ca257f36788a91.tar.zst freebsd-ports-gnome-699c18a5fac0ccf6e1c865abc9ca257f36788a91.zip |
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)
Diffstat (limited to 'math')
-rw-r--r-- | math/matio/files/patch-configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/matio/files/patch-configure b/math/matio/files/patch-configure new file mode 100644 index 000000000000..e086230e7dfd --- /dev/null +++ b/math/matio/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2013-07-31 23:52:52 UTC ++++ configure +@@ -14753,7 +14753,7 @@ $as_echo_n "checking for HDF5 software.. + + if test "x$HDF5_DIR" != "x" -a "x$HDF5_DIR" != "xyes" + then +- HDF5_CFLAGS="-I${HDF5_DIR}/include" ++ HDF5_CFLAGS="-I${HDF5_DIR}/include -DH5_USE_18_API" + if test "$acl_libdirstem" != "lib" -a -d "${HDF5_DIR}/$acl_libdirstem" + then + HDF5_LIBS="-L${HDF5_DIR}/$acl_libdirstem -lhdf5" |