diff --git a/shells/zsh/patches/patch-Src_Modules_zpty_c b/shells/zsh/patches/patch-Src_Modules_zpty_c index 4e2b3a70377..0e843a6038b 100644 --- a/shells/zsh/patches/patch-Src_Modules_zpty_c +++ b/shells/zsh/patches/patch-Src_Modules_zpty_c @@ -42,7 +42,7 @@ Index: Src/Modules/zpty.c + return 0; +} + -+#elifdef USE_DEV_PTMX ++#elif defined USE_DEV_PTMX + #ifdef HAVE_SYS_STROPTS_H #include diff --git a/shells/zsh/patches/patch-configure_ac b/shells/zsh/patches/patch-configure_ac index 939be0046a2..46e4cd8ccff 100644 --- a/shells/zsh/patches/patch-configure_ac +++ b/shells/zsh/patches/patch-configure_ac @@ -1,7 +1,7 @@ Index: configure.ac --- configure.ac.orig +++ configure.ac -@@ -2401,6 +2401,37 @@ dnl --------------- +@@ -2460,6 +2460,37 @@ dnl --------------- zsh_CHECK_SOCKLEN_T dnl ---------------