[med-svn] [mia] 01/04: add patch to correct tests on 32 bit platforms

Gert Wollny gert-guest at moszumanska.debian.org
Tue Sep 8 22:31:29 UTC 2015


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

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

commit cbf8f93e53a45637273695664fe47ebe65a3edb0
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Tue Sep 8 19:06:31 2015 +0200

    add patch to correct tests on 32 bit platforms
---
 debian/changelog                                        |  4 +++-
 .../03_fix_pixeltype_test_for_32bit_platforms.patch     | 17 +++++++++++++++++
 debian/patches/series                                   |  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2bc07c7..392ca05 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,9 @@ mia (2.2.4-1) UNRELEASED; urgency=medium
   * d/patches/* remove patches since they are now included upstream:
     02-manpage-correction-patch, 03_correct_instanciation..
     04_correct_flag_outstream, 05_remove_timestamp_from_doxygen 
-  * d/patches/ add 02_correct_build_dependencies.patch to correct build   
+  * d/patches/ add 
+     02_correct_build_dependencies.patch to correct build   
+     03_fix_pixeltype_test_for_32bit_platforms.patch
   * d/* bump so-version of the library package because of ABI change. 
     This also takes care of the needed gcc-5 transition
   * add doxygen-latex to the build-dependencies 
diff --git a/debian/patches/03_fix_pixeltype_test_for_32bit_platforms.patch b/debian/patches/03_fix_pixeltype_test_for_32bit_platforms.patch
new file mode 100644
index 0000000..8dcb62d
--- /dev/null
+++ b/debian/patches/03_fix_pixeltype_test_for_32bit_platforms.patch
@@ -0,0 +1,17 @@
+Description: Fix pixeltype number test for 32 bit builds 
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Forwarded: not-needed
+
+--- mia-2.2.4.orig/mia/core/test_pixeltype.cc
++++ mia-2.2.4/mia/core/test_pixeltype.cc
+@@ -37,8 +37,8 @@ BOOST_AUTO_TEST_CASE( test_pixeltype_tra
+ 	BOOST_CHECK(CPixelTypeDict.get_name_set().size() == 12);
+ 	BOOST_CHECK(it_none == 11);
+ #else
+-	BOOST_CHECK(CPixelTypeDict.get_name_set().size() == 9);
+-	BOOST_CHECK(it_none == 9);
++	BOOST_CHECK(CPixelTypeDict.get_name_set().size() == 10);
++	BOOST_CHECK(it_none == 10);
+ #endif
+ 
+ 	BOOST_CHECK(CPixelTypeDict.get_value("bit")    == it_bit);
diff --git a/debian/patches/series b/debian/patches/series
index 8f686eb..77c0a28 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_disable-treeview-for-jquery-compatibility.patch
 02_correct_build_dependencies.patch
+03_fix_pixeltype_test_for_32bit_platforms.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