Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
vigra
0001-Add-compatibility-for-hdf5-1-12.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-compatibility-for-hdf5-1-12.patch of Package vigra
From 4c70103d215bb70d4820cd4569321361d0baade7 Mon Sep 17 00:00:00 2001 From: Mark Harfouche <mark.harfouche@gmail.com> Date: Tue, 28 Sep 2021 09:45:08 -0400 Subject: [PATCH] Add compatibility for HDF5 1.12 --- src/impex/hdf5impex.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/impex/hdf5impex.cxx b/src/impex/hdf5impex.cxx index 2c68342ea..b202b2fb5 100644 --- a/src/impex/hdf5impex.cxx +++ b/src/impex/hdf5impex.cxx @@ -190,7 +190,11 @@ H5O_type_t HDF5_get_type(hid_t loc_id, const char* name) { // get information about object H5O_info_t infobuf; +#if H5Oget_info_by_name_vers >= 3 + H5Oget_info_by_name(loc_id, name, &infobuf, H5O_INFO_BASIC, H5P_DEFAULT); +#else H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT); +#endif return infobuf.type; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor