Package: libexplain / 1.4.D001-16

Metadata

Package Version Patches format
libexplain 1.4.D001-16 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
02_alpha fcntl h.patch | (download)

libexplain/ac/fcntl.h | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 do not special case alpha any longer
Bug-Debian: https://bugs.debian.org/661440


03_fsflags 4.5.patch | (download)

libexplain/buffer/file_inode_flags.c | 9 7 + 2 - 0 !
1 file changed, 7 insertions(+), 2 deletions(-)

 update inode flags for linux 4.5
 Linux 4.5 updated the list of inode flags including removing some existing
 flags. This patch fixes the resulting FTBFS by updating the flags list.
04_test t0274a.patch | (download)

test/02/t0274a.sh | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix test t0274a.sh on recent kernels
 As a result of fixing CVE-2015-8543, the behavior of creating a socket with an
 invalid protocol changed on recent kernels. Protocol numbers above 255 now
 return EINVAL. Fix the test by using a known illegal protocol and type
 combination which will fail with EPROTONOSUPPORT.
05_largefile.patch | (download)

libexplain/ac/fcntl.h | 21 17 + 4 - 0 !
1 file changed, 17 insertions(+), 4 deletions(-)

 fix handling of o_largefile on various 64-bit arches
06_sysctl.patch | (download)

libexplain/buffer/enfile.c | 2 1 + 1 - 0 !
libexplain/buffer/errno/listen.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 only compile sysctl code if sysctl exists
 The sysctl syscall is not present on arm64, so disable parts of the code which
 require it if it's not present.
07_ustat.patch | (download)

explain/syscall/ustat.c | 13 1 + 12 - 0 !
1 file changed, 1 insertion(+), 12 deletions(-)

 do not require fully defined struct ustat
 Fixes ustat related FTBFS on adm64. Since explain_errno_ustat does not write to
 the data argument, it's pointless to try and allocate any memory for it anyway.
08_hppa.patch | (download)

libexplain/buffer/access_mode.c | 6 3 + 3 - 0 !
libexplain/buffer/open_flags.c | 26 11 + 15 - 0 !
libexplain/parse_bits/print.c | 28 11 + 17 - 0 !
3 files changed, 25 insertions(+), 35 deletions(-)

 fix ftbfs on hppa - add handling of flags with multiple bits set
 On hppa the 'eventfd EINVAL' test was failing because the EFD_NONBLOCK was
 being incorrectly parsed. On hppa this flag sets two separate bits but the
 explain_parse_bits_print function does not handle this case. Fix by rewriting
 the algorithm to work on both cases. The access_modes table needed reordering
 to keep the old behavior there (this patch might change the ordering of some
 flags). Also handle a similar situation in explain_buffer_open_flags.
fix tests sed.patch | (download)

test/04/t0461a.sh | 2 1 + 1 - 0 !
test/04/t0463a.sh | 2 1 + 1 - 0 !
test/06/t0652a.sh | 6 3 + 3 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

---
nettstamp needs types.patch | (download)

libexplain/ac/linux/net_tstamp.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
sanitize bison.patch | (download)

Makefile.in | 19 8 + 11 - 0 !
codegen/gram.y | 2 2 + 0 - 0 !
libexplain/acl_grammar.y | 2 2 + 0 - 0 !
libexplain/parse_bits.y | 2 2 + 0 - 0 !
libexplain/printf_format.y | 2 2 + 0 - 0 !
5 files changed, 16 insertions(+), 11 deletions(-)

 sanitize bison usage
 use
   %define api.prefix {...}
 instead of crude
   sed -e 's/[yY][yY]/.../g'

 Thanks to Akim Demaille for the hint! (#960608)


gcc 10.patch | (download)

libexplain/output/stderr.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs with gcc 10
 GCC 10 defaults to -fno-common


typos.patch | (download)

libexplain/buffer/ehostunreach.c | 2 1 + 1 - 0 !
libexplain/buffer/ehostunreach.h | 2 1 + 1 - 0 !
libexplain/buffer/eisdir.h | 2 1 + 1 - 0 !
libexplain/buffer/enametoolong.h | 2 1 + 1 - 0 !
libexplain/buffer/enomedium.c | 2 1 + 1 - 0 !
libexplain/buffer/errno/acl_set_file.c | 2 1 + 1 - 0 !
libexplain/buffer/errno/mount.c | 2 1 + 1 - 0 !
libexplain/buffer/errno/read.c | 2 1 + 1 - 0 !
libexplain/buffer/hstrerror.c | 2 1 + 1 - 0 !
libexplain/buffer/strerror.c | 2 1 + 1 - 0 !
libexplain/mktemp_on_error.c | 2 1 + 1 - 0 !
man/man1/explain.1 | 2 1 + 1 - 0 !
man/man1/explain_lca2010.1 | 4 2 + 2 - 0 !
man/man3/explain.3 | 4 2 + 2 - 0 !
man/man3/explain_chmod_or_die.3 | 2 1 + 1 - 0 !
man/man3/explain_lseek.3 | 2 1 + 1 - 0 !
man/man3/explain_write.3 | 2 1 + 1 - 0 !
test/00/t0047a.sh | 12 6 + 6 - 0 !
18 files changed, 25 insertions(+), 25 deletions(-)

 fix typos found by lintian


linux5.11.patch | (download)

libexplain/iocontrol/siocadddlci.c | 2 1 + 1 - 0 !
libexplain/iocontrol/siocdeldlci.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 linux 5.11 no longer has if_frad.h

Bug-Debian: https://bugs.debian.org/997222
termiox no more exists since kernel 5.12.patch | (download)

libexplain/buffer/termiox.h | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 termiox no more exists since kernel 5.12

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.12&id=c762a2b846b619c0f92f23e2e8e16f70d20df800

use command v.patch | (download)

script/test_prelude.sh.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use command -v


missing prototypes.patch | (download)

etc/configure.ac | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 fix building with -werror=implicit-function-declaration


unshare 1.patch | (download)

test/04/t0462a.sh | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 disable test/04/t0462a.sh so that the package may be built with sbuild + unshare
Bug-Debian: https://bugs.debian.org/1072146
unshare 2.patch | (download)

test/05/t0524a.sh | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 disable test/05/t0524a.sh so that the package may be built with sbuild + unshare
Bug-Debian: https://bugs.debian.org/1072146
gcc 14.patch | (download)

libexplain/buffer/int8.c | 14 14 + 0 - 0 !
libexplain/buffer/int8.h | 13 13 + 0 - 0 !
libexplain/buffer/v4l2_bt_timings.c | 5 3 + 2 - 0 !
libexplain/buffer/v4l2_framebuffer.c | 2 1 + 1 - 0 !
libexplain/buffer/v4l2_requestbuffers.c | 5 3 + 2 - 0 !
5 files changed, 34 insertions(+), 5 deletions(-)

 fix building with gcc 14