[Git][debian-gis-team/hdf4][master] Add patch by Helmut Grohne to fix cross building. (closes: #1112297)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Aug 28 12:11:23 BST 2025



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


Commits:
c4af470d by Bas Couwenberg at 2025-08-28T12:58:05+02:00
Add patch by Helmut Grohne to fix cross building. (closes: #1112297)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/cross.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libhdf4 (4.3.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add patch by Helmut Grohne to fix cross building.
+    (closes: #1112297)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 28 Aug 2025 12:57:39 +0200
+
 libhdf4 (4.3.1-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/cross.patch
=====================================
@@ -0,0 +1,30 @@
+Description: Fix cross building.
+Author: Helmut Grohne <helmut at subdivi.de>
+Forwarded: not-needed
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -844,15 +844,16 @@ if test "X$HAVE_SZIP" = "Xyes" -a "x$HAV
+         else
+             exit(1);
+     }
+-    ]])],[CAN_ENCODE="yes"],[CAN_ENCODE="no"],[])
+-
+-    ## Report szip encoder test results
+-    if test "X$CAN_ENCODE" = "Xyes"; then
++    ]])],[
+         AC_MSG_RESULT([yes])
+-    fi
+-    if test "X$CAN_ENCODE" = "Xno"; then
++        CAN_ENCODE="yes"
++    ],[
+         AC_MSG_RESULT([no])
+-    fi
++        CAN_ENCODE="no"
++    ],[
++        AC_MSG_RESULT([cross compiling. guessing yes])
++        CAN_ENCODE="yes"
++    ])
+ 
+     ## Add "szip" to external filter list
+     if test "X$CAN_ENCODE" = "Xyes"; then


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 reproducible-builds.patch
+cross.patch



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/hdf4/-/commit/c4af470d9ac2ee9a63428ff454663367b7de262d
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/20250828/673ff4c5/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list