From 353d994254ee3da604465e53a89e5718e88b4ecc Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 20 Sep 2018 23:20:31 -0500 Subject: netbsd.libcurses: patch around funopen2 now instead of funopen --- pkgs/os-specific/bsd/netbsd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs') diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 9c55aa41839..d93e9fb7514 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -569,7 +569,7 @@ in rec { MKPIC = if stdenv.isDarwin then "no" else "yes"; postPatch = lib.optionalString (!stdenv.isDarwin) '' substituteInPlace printw.c \ - --replace "funopen(win, NULL, __winwrite, NULL, NULL)" NULL \ + --replace "funopen2(win, NULL, winwrite, NULL, NULL, NULL)" NULL \ --replace "__strong_alias(vwprintw, vw_printw)" 'extern int vwprintw(WINDOW*, const char*, va_list) __attribute__ ((alias ("vw_printw")));' substituteInPlace scanw.c \ --replace "__strong_alias(vwscanw, vw_scanw)" 'extern int vwscanw(WINDOW*, const char*, va_list) __attribute__ ((alias ("vw_scanw")));' -- cgit 1.4.1