zssh: fix build failure

Fixes build of zssh
The depracated type name "CPPFunction" in readline is replaced with the
replacement "rl_completion_func_t".
This commit is contained in:
Shogo Takata
2025-09-01 04:35:05 +09:00
parent 8a6d5427d9
commit a1503b80b9
+3
View File
@@ -34,6 +34,9 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -i 1i'#include <pty.h>' openpty.c
# readline has renamed the type name
substituteInPlace completion.c \
--replace-fail CPPFunction rl_completion_func_t
'';
# The makefile does not create the directories