summary refs log tree commit diff
path: root/pkgs/os-specific/bsd
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-09-20 23:20:31 -0500
committerWill Dietz <w@wdtz.org>2018-09-20 23:20:31 -0500
commit353d994254ee3da604465e53a89e5718e88b4ecc (patch)
tree8403783ce59363d3a81f28f4bfe296bdb382eeed /pkgs/os-specific/bsd
parent9e2bd0ddc2046e91c684c2b499614d553c893bf4 (diff)
downloadnixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar.gz
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar.bz2
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar.lz
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar.xz
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.tar.zst
nixpkgs-353d994254ee3da604465e53a89e5718e88b4ecc.zip
netbsd.libcurses: patch around funopen2 now instead of funopen
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix2
1 files changed, 1 insertions, 1 deletions
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")));'