hdf5/0001-Fix-return-value-in-test_libver_bounds_open.patch
Dirk Stoecker 5daaa9f016 Accepting request 637096 from home:StefanBruens:branches:science
Main reason to update is the addition/enhancement of 
H5Pset_libver_bounds():
"Added an enumerated value to H5F_libver_t for H5Pset_libver_bounds()." - https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt

This allows to write backwards compatible files with newer hdf5 versions, although this is "opt-in" by the library users. See e.g. https://github.com/Unidata/netcdf-c/issues/250, https://github.com/Unidata/netcdf-c/issues/951


- Update to 1.10.3:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.3/src/hdf5-1.10.3-RELEASE.txt
- Update to 1.10.2:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt
- Bump soversions (101 -> 103) for libhdf5 and libhdf5_cpp
- Drop Fix-warnings-for-missing-returns.patch, fixed upstream
- Add 0001-Fix-return-value-in-test_libver_bounds_open.patch
- Rebase patches (tab / space conversion):
  * PPC64LE-Fix-long-double-handling.patch
  * hdf5-buildcompare.patch
  * hdf5-mpi.patch
- Rebase Disable-phdf5-tests.patch

OBS-URL: https://build.opensuse.org/request/show/637096
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=82
2018-09-21 19:26:10 +00:00

27 lines
794 B
Diff

From b24bae35dcd2733e7339f87da0f2681ee06439a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 20 Sep 2018 20:36:13 +0200
Subject: [PATCH] Fix return value in test_libver_bounds_open
A return value is neither returned nor expected.
---
test/tfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/tfile.c b/test/tfile.c
index ad7f87f..d3134f8 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -4967,7 +4967,7 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create,
#define VERBFNAME "tverbounds_dspace.h5"
#define VERBDSNAME "dataset 1"
#define SPACE1_DIM1 3
-static int
+static void
test_libver_bounds_open(void)
{
hid_t file = -1; /* File ID */
--
2.19.0