[Git][debian-gis-team/python-hdf4][master] Add patch to fix FTBFS with HDF 4.3.0. (closes: #1068384)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Apr 4 15:00:30 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / python-hdf4


Commits:
dd10e75b by Bas Couwenberg at 2024-04-04T16:00:14+02:00
Add patch to fix FTBFS with HDF 4.3.0. (closes: #1068384)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/hdf-4.3.0.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+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 at debian.org>  Thu, 04 Apr 2024 15:50:11 +0200
+
 python-hdf4 (0.11.4-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/hdf-4.3.0.patch
=====================================
@@ -0,0 +1,27 @@
+Description: Fix FTBFS with HDF 4.3.0.
+Author: Bas Couwenberg <sebastic at 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"


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+hdf-4.3.0.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/-/commit/dd10e75bdbce85aceda141c0d37e4b8e319aba0d

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-hdf4/-/commit/dd10e75bdbce85aceda141c0d37e4b8e319aba0d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240404/79c1a06e/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list