Hello community, here is the log from the commit of package matio for openSUSE:Factory checked in at 2018-10-08 17:45:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/matio (Old) and /work/SRC/openSUSE:Factory/.matio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "matio" Mon Oct 8 17:45:25 2018 rev:20 rq:640240 version:1.5.12 Changes: -------- --- /work/SRC/openSUSE:Factory/matio/matio.changes 2018-10-04 19:03:46.263059563 +0200 +++ /work/SRC/openSUSE:Factory/.matio.new/matio.changes 2018-10-08 17:48:27.342252093 +0200 @@ -1,0 +2,5 @@ +Thu Oct 4 16:24:29 UTC 2018 - Stefan BrĂ¼ns <[email protected]> + +- Fix preprocessor check for availability of H5F_LIBVER_V18 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ matio.spec ++++++ --- /var/tmp/diff_new_pack.BrkGJ3/_old 2018-10-08 17:48:28.658250416 +0200 +++ /var/tmp/diff_new_pack.BrkGJ3/_new 2018-10-08 17:48:28.662250410 +0200 @@ -45,8 +45,8 @@ %package -n %{libname}%{major} Summary: Library for reading and writing MATLAB MAT files -# Avoid unresolvable errors from multiple providers Group: System/Libraries +# Avoid unresolvable errors from multiple providers Requires: libhdf5 %description -n %{libname}%{major} ++++++ 0001-Write-backwards-compatible-Mat7.3-files.patch ++++++ --- /var/tmp/diff_new_pack.BrkGJ3/_old 2018-10-08 17:48:28.678250390 +0200 +++ /var/tmp/diff_new_pack.BrkGJ3/_new 2018-10-08 17:48:28.678250390 +0200 @@ -26,7 +26,7 @@ + else if ( (mode & 0x01) == MAT_ACC_RDWR ) { + hid_t plist_ap; + plist_ap = H5Pcreate(H5P_FILE_ACCESS); -+#if defined(H5F_LIBVER_V18) ++#if H5_VERSION_GE(1,10,2) + H5Pset_libver_bounds(plist_ap,H5F_LIBVER_EARLIEST,H5F_LIBVER_V18); +#endif + *(hid_t*)mat->fp=H5Fopen(mat->filename,H5F_ACC_RDWR,plist_ap); @@ -50,7 +50,7 @@ H5Pset_userblock(plist_id,512); - fid = H5Fcreate(matname,H5F_ACC_TRUNC,plist_id,H5P_DEFAULT); + plist_ap = H5Pcreate(H5P_FILE_ACCESS); -+#if defined(H5F_LIBVER_V18) ++#if H5_VERSION_GE(1,10,2) + H5Pset_libver_bounds(plist_ap,H5F_LIBVER_EARLIEST,H5F_LIBVER_V18); +#endif + fid = H5Fcreate(matname,H5F_ACC_TRUNC,plist_id,plist_ap);
