[med-svn] [Git][med-team/libmaus2][master] add fix-test-on-32bits.patch

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Jun 27 22:45:58 BST 2021



Étienne Mollier pushed to branch master at Debian Med / libmaus2


Commits:
f1346d5d by Étienne Mollier at 2021-06-27T23:42:55+02:00
add fix-test-on-32bits.patch

This patch addresses a failure to build the test suite, caused by a
type mismatch between uint64_t and size_t when the platform is not
32 bits.

- - - - -


2 changed files:

- + debian/patches/fix-test-on-32bits.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix-test-on-32bits.patch
=====================================
@@ -0,0 +1,19 @@
+Description: fix test breaking due to type mismatch on 32 bits platforms
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: no
+Last-Update: 2021-06-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- libmaus2.orig/src/test/testnplself.cpp
++++ libmaus2/src/test/testnplself.cpp
+@@ -66,8 +66,8 @@
+ 
+ 			libmaus2::lcs::NPLSelf np;
+ 
+-			std::size_t const ab = 0;
+-			std::size_t const bb = 1;
++			std::uint64_t const ab = 0;
++			std::uint64_t const bb = 1;
+ 
+ 			np.np(
+ 				a.begin()+ab,a.end(),


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-test-on-32bits.patch



View it on GitLab: https://salsa.debian.org/med-team/libmaus2/-/commit/f1346d5ddfe72f803a11d7d57448811f862266de

-- 
View it on GitLab: https://salsa.debian.org/med-team/libmaus2/-/commit/f1346d5ddfe72f803a11d7d57448811f862266de
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210627/f7b86729/attachment-0001.htm>


More information about the debian-med-commit mailing list