This is an automated email from the git hooks/post-receive script. sascha-guest pushed a commit to branch master in repository minimap.
commit e64bddfc7dde410acab1116b7d13a7b9a0b6e700 Author: Sascha Steinbiss <[email protected]> Date: Wed Jan 13 19:42:35 2016 +0000 fix building on 32-bit archs --- debian/changelog | 6 ++++++ debian/patches/ensure_64bit_value | 23 +++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 30 insertions(+) diff --git a/debian/changelog b/debian/changelog index 94e95c0..bbeb78f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +minimap (0.2-2) UNRELEASED; urgency=medium + + * Fix building on 32-bit archs. + + -- Sascha Steinbiss <[email protected]> Wed, 13 Jan 2016 19:33:03 +0000 + minimap (0.2-1) unstable; urgency=low * Initial packaging (Closes: #810600) diff --git a/debian/patches/ensure_64bit_value b/debian/patches/ensure_64bit_value new file mode 100644 index 0000000..9cd87d8 --- /dev/null +++ b/debian/patches/ensure_64bit_value @@ -0,0 +1,23 @@ +Description: ensure 64 bit value + The bitfield requires 64 bits to be distributed, but size_t can + be less wide on some architectures. +Author: Sascha Steinbiss <[email protected]> +Forwarded: https://github.com/lh3/minimap/pull/2 +Last-Update: 2016-01-13 +--- a/kdq.h ++++ b/kdq.h +@@ -1,12 +1,13 @@ + #ifndef __AC_KDQ_H + #define __AC_KDQ_H + ++#include <stdint.h> + #include <stdlib.h> + #include <string.h> + + #define __KDQ_TYPE(type) \ + typedef struct { \ +- size_t front:58, bits:6, count, mask; \ ++ uint64_t front:58, bits:6, count, mask; \ + type *a; \ + } kdq_##type##_t; + diff --git a/debian/patches/series b/debian/patches/series index 4f6b77a..3079971 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ make_shared_lib hardening +ensure_64bit_value -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/minimap.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
