diff options
author | Anton Kudelin | 2021-11-25 00:52:06 +0200 |
---|---|---|
committer | Anton Kudelin | 2021-11-25 00:52:06 +0200 |
commit | 363538cf64d7853a7a68d3db452bba1258f0e1e5 (patch) | |
tree | 875d185f68951d4dead18b1c9c97bf0321868116 /hdf5.patch | |
parent | f5060eadea1fd4ffca542837275e83f5e4881ac4 (diff) | |
download | aur-363538cf64d7853a7a68d3db452bba1258f0e1e5.tar.gz |
updpkg: 4.11
Diffstat (limited to 'hdf5.patch')
-rw-r--r-- | hdf5.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/hdf5.patch b/hdf5.patch new file mode 100644 index 000000000000..3a518475021e --- /dev/null +++ b/hdf5.patch @@ -0,0 +1,44 @@ +--- src/hdf5_drv/H5FDsilo.c 2021-09-11 01:22:52.000000000 +0300 ++++ src/hdf5_drv/H5FDsilo.c 2021-11-25 00:37:06.685422949 +0200 +@@ -252,13 +252,13 @@ + snprintf(msg, sizeof(msg), Msg "(errno=%d, \"%s\")", \ + Errno, strerror(Errno)); \ + ret_value = Ret; \ +- H5Epush_ret(Func, Cls, Maj, Min, msg, Ret) \ ++ H5Epush_ret(Func, Cls, Maj, Min, msg, Ret); \ + } + #else + #define H5E_PUSH_HELPER(Func,Cls,Maj,Min,Msg,Ret,Errno) \ + { \ + ret_value = Ret; \ +- H5Epush_ret(Func, Cls, Maj, Min, Msg, Ret) \ ++ H5Epush_ret(Func, Cls, Maj, Min, Msg, Ret); \ + } + #endif + +@@ -1355,7 +1355,7 @@ + assert(sizeof(hsize_t)<=8); + memcpy(p, &file->block_size, sizeof(hsize_t)); + if (H5Tconvert(H5T_NATIVE_HSIZE, H5T_STD_U64LE, 1, buf+8, NULL, H5P_DEFAULT)<0) +- H5Epush_ret(func, H5E_ERR_CLS, H5E_DATATYPE, H5E_CANTCONVERT, "can't convert superblock info", -1) ++ H5Epush_ret(func, H5E_ERR_CLS, H5E_DATATYPE, H5E_CANTCONVERT, "can't convert superblock info", -1); + + return 0; + } +@@ -1383,14 +1383,14 @@ + + /* Make sure the name/version number is correct */ + if (strcmp(name, "LLNLsilo")) +- H5Epush_ret(func, H5E_ERR_CLS, H5E_FILE, H5E_BADVALUE, "invalid silo superblock", -1) ++ H5Epush_ret(func, H5E_ERR_CLS, H5E_FILE, H5E_BADVALUE, "invalid silo superblock", -1); + + buf += 8; + /* Decode block size */ + assert(sizeof(hsize_t)<=8); + memcpy(x, buf, 8); + if (H5Tconvert(H5T_STD_U64LE, H5T_NATIVE_HSIZE, 1, x, NULL, H5P_DEFAULT)<0) +- H5Epush_ret(func, H5E_ERR_CLS, H5E_DATATYPE, H5E_CANTCONVERT, "can't convert superblock info", -1) ++ H5Epush_ret(func, H5E_ERR_CLS, H5E_DATATYPE, H5E_CANTCONVERT, "can't convert superblock info", -1); + ap = (hsize_t*)x; + /*file->block_size = *ap; ignore stored value for now */ + |