Pierre Gruet pushed to branch master at Debian Med / libsis-jhdf5-java
Commits: c1f32b91 by Pierre Gruet at 2024-07-28T22:28:53+02:00 Fixing further gcc14 issues with incompatible pointer types - - - - - 3d9e0914 by Pierre Gruet at 2024-07-28T22:29:10+02:00 Upload to unstable - - - - - 2 changed files: - debian/changelog - debian/patches/gcc14.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +libsis-jhdf5-java (19.04.1+dfsg-6) unstable; urgency=medium + + * Fixing more gcc14 issues with incompatible pointer types (Closes: #1077347) + + -- Pierre Gruet <[email protected]> Sun, 28 Jul 2024 22:29:02 +0200 + libsis-jhdf5-java (19.04.1+dfsg-5) unstable; urgency=medium * Building with gcc14 (Closes: #1075203) ===================================== debian/patches/gcc14.patch ===================================== @@ -46,3 +46,34 @@ Last-Update: 2024-07-10 /* remove vlen indicators */ if ((*str)[0] == ',') (*str)++; +--- a/source/c/h5lHelperImp.c ++++ b/source/c/h5lHelperImp.c +@@ -454,7 +454,7 @@ + { + h5str_array_free(lName, n); + h5str_array_free(lfName, n); +- h5str_array_free(buf, n); ++ h5str_array_free((char**)(buf), n); + } + h5libraryError(env); + } else { +@@ -483,7 +483,7 @@ + } /* for (i=0; i<n; i++)*/ + free(lName); + free(lfName); +- h5str_array_free(buf, n); ++ h5str_array_free((char**)(buf), n); + } + h5str_array_free(oName, n); + } +--- a/source/c/jni/h5aImp.c ++++ b/source/c/jni/h5aImp.c +@@ -303,7 +303,7 @@ + herr_t status = -1; + + n = ENVPTR->GetArrayLength(ENVPAR buf); +- strs =(hvl_t*)HDcalloc((size_t)n, sizeof(hvl_t)); ++ strs =(char**)HDcalloc((size_t)n, sizeof(char*)); + + if (strs == NULL) { + h5JNIFatalError(env, "H5AwriteVL_asstr: failed to allocate buff for read variable length strings"); View it on GitLab: https://salsa.debian.org/med-team/libsis-jhdf5-java/-/compare/745413dd8616645ecfdc73375044124cde239ba9...3d9e09140a72144e0e3e7b2fa6f6fc54e12acb26 -- View it on GitLab: https://salsa.debian.org/med-team/libsis-jhdf5-java/-/compare/745413dd8616645ecfdc73375044124cde239ba9...3d9e09140a72144e0e3e7b2fa6f6fc54e12acb26 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
