[packages/h5edit] - fix type conflict between declaration and implementation
baggins
baggins at pld-linux.org
Sun Dec 8 23:54:45 CET 2019
commit 1c51f1d9d9bd103a8e58c24a7e0760183c6ee0e2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Dec 8 23:54:16 2019 +0100
- fix type conflict between declaration and implementation
h5edit.spec | 2 ++
types.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/h5edit.spec b/h5edit.spec
index ad117df..ae5b004 100644
--- a/h5edit.spec
+++ b/h5edit.spec
@@ -7,6 +7,7 @@ Group: Applications/File
License: BSD-like, changed sources must be marked
Source0: http://www.hdfgroup.org/ftp/HDF5/projects/jpss/h5edit/%{name}-%{version}.tar.gz
# Source0-md5: 10e1d07577c37a9ecb03a9867c365968
+Patch0: types.patch
URL: http://www.hdfgroup.org/projects/npoess/h5edit_index.html
BuildRequires: hdf5-devel >= 1.8.9
BuildRequires: szip-devel
@@ -33,6 +34,7 @@ pakietu).
%prep
%setup -q
+%patch0 -p1
%build
# need _LARGEFILE64_SOURCE for off64_t when hdf5 is built with LFS
diff --git a/types.patch b/types.patch
new file mode 100644
index 0000000..ce47357
--- /dev/null
+++ b/types.patch
@@ -0,0 +1,11 @@
+--- h5edit-1.3.1/src/misc.c~ 2014-03-12 18:44:50.000000000 +0100
++++ h5edit-1.3.1/src/misc.c 2019-12-08 23:52:17.721823280 +0100
+@@ -238,7 +238,7 @@
+ * H5Fopen it.
+ * Return 0 succeess, otherwise -1.
+ */
+-int opendatafile(const char *name)
++hid_t opendatafile(const char *name)
+ {
+ int ret_code=0;
+ hid_t fapl = H5P_DEFAULT;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/h5edit.git/commitdiff/1c51f1d9d9bd103a8e58c24a7e0760183c6ee0e2
More information about the pld-cvs-commit
mailing list