Skip to content
Snippets Groups Projects
Commit dd10e75b authored by Bas Couwenberg's avatar Bas Couwenberg
Browse files

Add patch to fix FTBFS with HDF 4.3.0. (closes: #1068384)

parent 8c6b6708
No related branches found
No related tags found
No related merge requests found
Pipeline #661300 passed
python-hdf4 (0.11.4-2) UNRELEASED; urgency=medium
* Team upload.
* Add patch to fix FTBFS with HDF 4.3.0.
(closes: #1068384)
-- Bas Couwenberg <sebastic@debian.org> Thu, 04 Apr 2024 15:50:11 +0200
python-hdf4 (0.11.4-1) unstable; urgency=medium
* New upstream release.
......
Description: Fix FTBFS with HDF 4.3.0.
Author: Bas Couwenberg <sebastic@debian.org>
Bug: https://bugs.debian.org/1068384
Forwarded: https://github.com/fhs/pyhdf/pull/72
--- a/pyhdf/hdfext.i
+++ b/pyhdf/hdfext.i
@@ -203,7 +203,7 @@ extern void _HEprint(void);
%{
-#include "hdfi.h" /* declares int32, float32, etc */
+#include "hdf.h" /* declares int32, float32, etc */
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "numpy/ndarraytypes.h"
--- a/pyhdf/hdfext_wrap.c
+++ b/pyhdf/hdfext_wrap.c
@@ -3842,7 +3842,7 @@ void _HEprint(void) {
}
-#include "hdfi.h" /* declares int32, float32, etc */
+#include "hdf.h" /* declares int32, float32, etc */
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "numpy/ndarraytypes.h"
hdf-4.3.0.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment