[med-svn] [Git][med-team/libsecrecy][master] 2 commits: Add fix-autopkgtest-failures-32-bit.patch
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sun Oct 24 16:04:37 BST 2021
Étienne Mollier pushed to branch master at Debian Med / libsecrecy
Commits:
faef3ca1 by Étienne Mollier at 2021-10-24T17:00:27+02:00
Add fix-autopkgtest-failures-32-bit.patch
Correct regressions on i386 and armhf autopkgtests notably.
- - - - -
b99ef9b1 by Étienne Mollier at 2021-10-24T17:01:58+02:00
ready changelog to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/fix-autopkgtest-failures-32-bit.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+libsecrecy (0.0.5+ds-2) unstable; urgency=medium
+
+ * Add fix-autopkgtest-failures-32-bit.patch
+
+ -- Étienne Mollier <emollier at debian.org> Sun, 24 Oct 2021 17:01:30 +0200
+
libsecrecy (0.0.5+ds-1) unstable; urgency=medium
* extend test coverage by testing clang++
=====================================
debian/patches/fix-autopkgtest-failures-32-bit.patch
=====================================
@@ -0,0 +1,35 @@
+Description: fix autopkgtest failures on 32 bit platforms
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: no
+Last-Update: 2021-10-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- libsecrecy.orig/src/libsecrecy/GCMInputStreamBuffer.hpp
++++ libsecrecy/src/libsecrecy/GCMInputStreamBuffer.hpp
+@@ -187,7 +187,7 @@
+ {
+ // current position
+ assert ( static_cast<std::ptrdiff_t>(blockoffset) >= egptr() - gptr() );
+- std::streampos const curpos = blockoffset - (egptr()-gptr());
++ std::streampos const curpos = blockoffset - static_cast<std::streampos>(egptr()-gptr());
+
+ // start of buffer
+ assert ( static_cast<std::ptrdiff_t>(blockoffset) >= (egptr() - eback()) );
+@@ -225,7 +225,7 @@
+
+ underflow();
+
+- bufstart = blockoffset - static_cast<std::streamsize>(egptr()-eback());
++ bufstart = blockoffset - static_cast<std::streampos>(egptr()-eback());
+ bufend = blockoffset;
+
+ assert ( sp >= bufstart && sp <= bufend );
+@@ -246,7 +246,7 @@
+ {
+ // current position
+ assert ( static_cast<std::ptrdiff_t>(blockoffset) >= egptr() - gptr() );
+- std::streampos const curpos = blockoffset - (egptr()-gptr());
++ std::streampos const curpos = blockoffset - static_cast<std::streampos>(egptr()-gptr());
+
+ // start of buffer
+ assert ( static_cast<std::ptrdiff_t>(blockoffset) >= (egptr() - eback()) );
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+fix-autopkgtest-failures-32-bit.patch
View it on GitLab: https://salsa.debian.org/med-team/libsecrecy/-/compare/42e9d55b8aba7be7661ee156457d3f985231e9ab...b99ef9b11b43b351ec80165d6cd0fb791a79b8db
--
View it on GitLab: https://salsa.debian.org/med-team/libsecrecy/-/compare/42e9d55b8aba7be7661ee156457d3f985231e9ab...b99ef9b11b43b351ec80165d6cd0fb791a79b8db
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/20211024/d12f1ce6/attachment-0001.htm>
More information about the debian-med-commit
mailing list