multitail: pull pending upstream inclusion fix for ncurses-6.3
Without the fix build on ncurses-6.3 fails as: ui.c:1167:71: error: format not a string literal and no format arguments [-Werror=format-security] 1167 | mvwprintw(mywin -> win, 4 + loop, 42, dummy); | ^~~~~
This commit is contained in:
parent
5e39986fe2
commit
e08e150504
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, ncurses, pkg-config }:
|
{ lib, stdenv, fetchurl, fetchpatch, ncurses, pkg-config }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.5.0";
|
version = "6.5.0";
|
||||||
|
@ -9,6 +9,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
|
sha256 = "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix pending upstream inclusion for ncurses-6.3:
|
||||||
|
# https://github.com/halturin/multitail/pull/4
|
||||||
|
(fetchpatch {
|
||||||
|
name = "ncurses-6.3.patch";
|
||||||
|
url = "https://github.com/halturin/multitail/commit/d7d10f3bce261074c116eba9f924b61f43777662.patch";
|
||||||
|
sha256 = "0kyp9l6v92mz6d3h34j11gs5kh3sf2nv76mygqfxb800vd8r0cgg";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
@ -21,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.vanheusden.com/multitail/";
|
homepage = "https://github.com/halturin/multitail";
|
||||||
description = "tail on Steroids";
|
description = "tail on Steroids";
|
||||||
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
|
|
Loading…
Reference in a new issue