From f64a3cb81fa07ad62f7ff837a16b613b658b3a5a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 4 May 2024 22:01:25 +0100 Subject: [PATCH] libgnt: 2.14.3 -> 2.14.4-dev Without the update build will fail on `ncurses-6.5` update as: ../gntwm.c:183:52: error: invalid use of incomplete typedef 'PANEL' {aka 'struct panel'} 183 | if (mvwin_wch(below->win, y - getbegy(below->win), sx - 1 - getbegx(below->win), &ch) != OK) | ^~ This is caused by `ncurses` hiding opaque fields by default in a new release. --- pkgs/by-name/li/libgnt/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libgnt/package.nix b/pkgs/by-name/li/libgnt/package.nix index 104a22beab74..637da4c2bc71 100644 --- a/pkgs/by-name/li/libgnt/package.nix +++ b/pkgs/by-name/li/libgnt/package.nix @@ -6,13 +6,13 @@ }: stdenv.mkDerivation rec { pname = "libgnt"; - version = "2.14.3"; + version = "2.14.4-dev"; outputs = [ "out" "dev" ] ++ lib.optional buildDocs "devdoc"; src = fetchurl { url = "mirror://sourceforge/pidgin/${pname}-${version}.tar.xz"; - hash = "sha256-V/VFf3KZnQuxoTmjfydG7BtaAsCU8nEKM52LzqQjYSM="; + hash = "sha256-GVkzqacx01dXkbiBulzArSpxXh6cTCPMqqKhfhZMluw="; }; nativeBuildInputs = [ glib meson ninja pkg-config ] @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { buildInputs = [ glib ncurses libxml2 ]; postPatch = '' - substituteInPlace meson.build --replace \ + substituteInPlace meson.build --replace-fail \ "ncurses_sys_prefix = '/usr'" \ "ncurses_sys_prefix = '${lib.getDev ncurses}'" '';