Debian Patches

Status for faketime/0.9.10-2.1

Patch Description Author Forwarded Bugs Origin Last update
0001-tests-avoid-testing-syscall-snippets-if-DINTERCEPT_S.patch tests: avoid testing syscall snippets if -DINTERCEPT_SYSCALL is not set

See https://bugs.debian.org/1007828
Daniel Kahn Gillmor <dkg@fifthhorseman.net> no 2022-04-16
fix_time_t_in_test_on_32bits.patch [PATCH] test/snippets: fix time.c compiler error on 32-bit arches
Cast t to unsigned long and use the %lu format specifier instead of %zd.
This is more portable to 32-bit arches, avoiding the following compiler
error:

snippets/time.c:2:31: error: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]
2 | printf("[%s] time() yielded %zd\n", where, t);
| ~~^ ~
| | |
| int time_t {aka long int}
| %ld
cc1: all warnings being treated as errors
Nick Rosbrook <nick.rosbrook@canonical.com> no 2022-08-10

All known versions for source package 'faketime'

Links