liboping: fix compilation with ncurses 6.3
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 20 Mar 2022 18:36:53 +0000 (20:36 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 20 Mar 2022 18:55:15 +0000 (20:55 +0200)
commita83b1f64ff08d773419b409a9c2e8365f8d2d145
treea063382928cc5898b82137e79fa145a9765276bc
parent546af5266b63ef0cd52cb11879fce96fc4e8537d
liboping: fix compilation with ncurses 6.3

Fix compilation with ncurses 6.3 by adjusting the printf format strings.

Apparently ncurses 6.3 introduced some new formatting tweaks that
broke things.

Fixes #18110

Reference to:
* https://github.com/octo/liboping/issues/62
* https://github.com/octo/liboping/pull/61
* https://salsa.debian.org/debian/liboping/-/blob/debian/debian/patches/fix_HOST_PRINTF_format_string.patch

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit cb4d8ccb2715c33acfcfe987545f9e899056e18f)
libs/liboping/Makefile
libs/liboping/patches/05-fix-format-arguments-ncurses63.patch [new file with mode: 0644]