kst/fix-hdf5-include-path.patch
Christophe Marin a5960a5d9c - Update to kst 2.1.0
This release includes all updates since 2.0.8 released in 2014:
  * Too many bug fixes to list
  * Many feature improvements
  Some of the changes can be seen at:
  https://invent.kde.org/graphics/kst-plot/-/compare/v2.0.8...v2.1-2024-10-20
- Remove patches that are already included in 2.1.0:
  * gsl2-support.patch
  * Fix-build-with-Qt-511.patch
  * 0001-Fix-build-with-CMake-3.20.patch
- Add patch to fix a hdf5 include path that we install in
  another directory:
  * fix-hdf5-include-path.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kst?expand=0&rev=32
2024-10-29 13:02:15 +00:00

19 lines
504 B
Diff

Subject: Fix a header path
From: Antonio Larrosa <alarrosa@suse.com>
We install H5Cpp.h in /usr/include so we need to fix the include line.
Index: kst-plot/src/datasources/hdf5/hdf5.h
===================================================================
--- kst-plot.orig/src/datasources/hdf5/hdf5.h
+++ kst-plot/src/datasources/hdf5/hdf5.h
@@ -18,7 +18,7 @@
#include <dataplugin.h>
#include <QFileInfo>
-#include <hdf5/serial/H5Cpp.h>
+#include <H5Cpp.h>
#include <exception>
#include "debug.h"