]> git.pld-linux.org Git - packages/h5edit.git/commitdiff
- fix type conflict between declaration and implementation
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 8 Dec 2019 22:54:16 +0000 (23:54 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 8 Dec 2019 22:54:16 +0000 (23:54 +0100)
h5edit.spec
types.patch [new file with mode: 0644]

index ad117dfd51bda50ae7e6315e233630e8eaf191e1..ae5b00409eda927accdb88622868d98c1a17cbfe 100644 (file)
@@ -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 (file)
index 0000000..ce47357
--- /dev/null
@@ -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;
This page took 0.147393 seconds and 4 git commands to generate.