From bd9277892c48bda1d5e6855fd320647995dfa56c Mon Sep 17 00:00:00 2001 From: kmos Date: Mon, 30 May 2022 20:54:47 +0000 Subject: [PATCH] Change our patches to use "#elif defined" rather than "#elifdef" since neither base-gcc nor ports-gcc understands "#elifdef" Fixes build on sparc64 ok tb@ --- shells/zsh/patches/patch-Src_Modules_zpty_c | 2 +- shells/zsh/patches/patch-configure_ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ---------------