[med-svn] [mia] 01/02: d/p: Add patch to handle new 64-bit hid_t in hdf5-1.10

Gert Wollny gert-guest at moszumanska.debian.org
Fri Dec 30 22:53:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository mia.

commit 09d7949730b72d58e151c27ea25a7241af46d64b
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Fri Dec 9 11:30:27 2016 +0000

    d/p: Add patch to handle new 64-bit hid_t in hdf5-1.10
---
 debian/patches/hdf5_correct_hid.patch | 15 +++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/hdf5_correct_hid.patch b/debian/patches/hdf5_correct_hid.patch
new file mode 100644
index 0000000..98a431c
--- /dev/null
+++ b/debian/patches/hdf5_correct_hid.patch
@@ -0,0 +1,15 @@
+Description: Correct possible truncat of hid_t that may now be 64 bit
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Origin: Upstream
+
+--- a/addons/hdf5/hdf5mia.cc
++++ b/addons/hdf5/hdf5mia.cc
+@@ -440,7 +440,7 @@
+ 	auto id =  H5Dopen(p, relative_name.c_str(), H5P_DEFAULT);
+ 	check_id(id, "H5Dataset", "open", relative_name);
+ 
+-	int space_id = H5Dget_space(id); 
++	auto space_id = H5Dget_space(id); 
+ 	check_id(space_id, "H5Dataset", "get space", name);
+ 	H5Space space(space_id); 
+ 	
diff --git a/debian/patches/series b/debian/patches/series
index 4b95100..80a5474 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ path_max.patch
 mia_243_scoped_lock_no_copy.patch
 mia_243_check_help_xml_success.patch 
 correct_depenency_handling.patch
+hdf5_correct_hid.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mia.git



More information about the debian-med-commit mailing list