git: 8d1b0443daa1 - main - science/kst2: Fix build with newer HDF5 (1.10.8+ or 1.12.1+)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 12:38:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d1b0443daa1bca4e64b113714f9801e7f0f5a0b

commit 8d1b0443daa1bca4e64b113714f9801e7f0f5a0b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-07 12:23:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-07 12:36:28 +0000

    science/kst2: Fix build with newer HDF5 (1.10.8+ or 1.12.1+)
---
 science/kst2/files/patch-src_datasources_hdf5_hdf5.h | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/science/kst2/files/patch-src_datasources_hdf5_hdf5.h b/science/kst2/files/patch-src_datasources_hdf5_hdf5.h
index 5fb4db538db5..0d59b26c7a7d 100644
--- a/science/kst2/files/patch-src_datasources_hdf5_hdf5.h
+++ b/science/kst2/files/patch-src_datasources_hdf5_hdf5.h
@@ -1,6 +1,15 @@
---- src/datasources/hdf5/hdf5.h.orig	2021-01-24 05:51:19 UTC
+--- src/datasources/hdf5/hdf5.h.orig	2022-02-16 19:03:30 UTC
 +++ src/datasources/hdf5/hdf5.h
-@@ -18,7 +18,7 @@
+@@ -11,14 +11,14 @@
+  ***************************************************************************/
+ 
+ 
+-#ifndef HDF5_H
+-#define HDF5_H
++#ifndef KST2_HDF5_H
++#define KST2_HDF5_H
+ 
+ #include <datasource.h>
  #include <dataplugin.h>
  
  #include <QFileInfo>