mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
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.
This commit is contained in:
parent
343b0a2225
commit
f64a3cb81f
@ -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}'"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user