git: 6073d53049b2 - main - graphics/vigra: Fix build with HDF5 1.12.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 12:51:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6073d53049b262b45cdcd60cfc351c8e5b9eac50

commit 6073d53049b262b45cdcd60cfc351c8e5b9eac50
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:50:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:50:20 +0000

    graphics/vigra: Fix build with HDF5 1.12.0+
---
 graphics/vigra/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile
index b0c6be34fec8..057646e067ec 100644
--- a/graphics/vigra/Makefile
+++ b/graphics/vigra/Makefile
@@ -33,6 +33,7 @@ OPTIONS_GROUP=		IMAGEFORMATS
 OPTIONS_GROUP_IMAGEFORMATS=	PNG JPEG TIFF
 OPTIONS_SUB=		yes
 
+HDF5_CFLAGS=		-DH5_USE_110_API=1
 HDF5_CMAKE_BOOL=	WITH_HDF5
 HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5