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@
This commit is contained in:
kmos 2022-05-30 20:54:47 +00:00
parent 01c8cb91a5
commit bd9277892c
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ Index: Src/Modules/zpty.c
+ return 0; + return 0;
+} +}
+ +
+#elifdef USE_DEV_PTMX +#elif defined USE_DEV_PTMX
+ +
#ifdef HAVE_SYS_STROPTS_H #ifdef HAVE_SYS_STROPTS_H
#include <sys/stropts.h> #include <sys/stropts.h>

View File

@ -1,7 +1,7 @@
Index: configure.ac Index: configure.ac
--- configure.ac.orig --- configure.ac.orig
+++ configure.ac +++ configure.ac
@@ -2401,6 +2401,37 @@ dnl --------------- @@ -2460,6 +2460,37 @@ dnl ---------------
zsh_CHECK_SOCKLEN_T zsh_CHECK_SOCKLEN_T
dnl --------------- dnl ---------------