1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/applications/misc/pinfo
Sergei Trofimovich 50edfafdbf pinfo: fix build for ncurses-6.3
Otherwise on upcoming ncurses-6.3 the build fails as:

    video.c:114:26: error: format '%d' expects argument of type 'int',
      but argument 3 has type 'long unsigned int' [-Werror=format=]
      114 |                 printw(_("Viewing line %d/%d, 100%%"), lines, lines);
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

While at it pull upstream fix for -fcommon toolchains (vanilla gcc-10)
and pending fix for gcc-11.
2021-11-11 19:10:53 +00:00
..
default.nix