Debian Patches

Status for libtommath/1.2.1-2

Patch Description Author Forwarded Bugs Origin Last update
increase-test-timeout Increase test timeout Increase test timeout to avoid FTBS on slow architectures "Manuel A. Fernandez Montecelo" <mafm@debian.org> not-needed debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894987
remove-undefined-macro remove \undefined macro Jari Aalto <jari.aalto@cante.net> no debian
fix-shift-count-overflow-on-x32 Fix shift count overflow on x32 Date: Sat Jan 14 10:42:55 2017 +0100
.
Fix bad detection of 64bit arch on x32
.
This commit comes from a Debian bug report from Thorsten:
.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850723
.
The important part is:
.
+++++++++++++++++++++++++++++++++
As for libtommath its build logs do not show this warning, but
that may be due to a difference in CFLAGS, and it does not have
such an extensive testsuite as heimdal, so it might also need to
have this patch applied (and forwarded upstream).
.
A better fix *might* be to fix MP_MASK to read something along
the lines of shifting 1ULL left, but the cast should already do
that, so Im unsure why this doesnt help. Do note that x32 is
an ILP32 architecture with 64-bit wide CPU registers (but 32-bit
pointers and longs), so 64-bit mode should work (and fast, at
that) but can be a bit tricky, and that the patch I attached is
positively known to fix several issues the heimdal testsuite shows.
+++++++++++++++++++++++++++++++++
.
This commit is a port of the patch proposed by Thorsten.
.
diff --git a/tommath.h b/tommath.h
index b1a97af..4b0b177 100644
Thorsten Glaser <tg@mirbsd.de> yes debian
use-utc-timezone Ensure the date is represented in UTC when generating PDF files.
Use SOURCE_DATE_EPOCH directly rather than a timestamp
reference file which can vary between builds.

https://reproducible-builds.org/docs/source-date-epoch/

===================================================================
Vagrant Cascadian <vagrant@reproducible-builds.org> no

All known versions for source package 'libtommath'

Links