git: fd6622942cec - main - shell/zsh: remove unnneeded patch

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 19 May 2022 12:52:55 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd6622942cecb559358c5c44d4f9dddbf827ccb1

commit fd6622942cecb559358c5c44d4f9dddbf827ccb1
Author:     Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
AuthorDate: 2022-05-19 12:50:18 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-05-19 12:50:18 +0000

    shell/zsh: remove unnneeded patch
    
    files/extra-patch-Src_Modules_curses__keys.awk is no longer needed
    and broke patch phase if ports ncurses is installed.
    
    The patch is already incorporated upstream, so doesn't apply.
---
 shells/zsh/Makefile                                    |  4 ----
 .../zsh/files/extra-patch-Src_Modules_curses__keys.awk | 18 ------------------
 2 files changed, 22 deletions(-)

diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 54dad7a2fa07..7c235d5cb748 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -87,10 +87,6 @@ SUB_FILES=	pkg-message
 CONFIGURE_ENV+=	ac_cv_lib_iconv_libiconv=no
 .endif
 
-.if ${ncurses_ARGS} == port
-EXTRA_PATCHES=	${PATCHDIR}/extra-patch-Src_Modules_curses__keys.awk
-.endif
-
 post-patch:
 # FreeBSD's clock_gettime(2) is in libc, not librt; see PR 167857
 	@${REINPLACE_CMD} -e '/LIBS/s|-lrt||' ${WRKSRC}/configure
diff --git a/shells/zsh/files/extra-patch-Src_Modules_curses__keys.awk b/shells/zsh/files/extra-patch-Src_Modules_curses__keys.awk
deleted file mode 100644
index 4fb2b5aa27b9..000000000000
--- a/shells/zsh/files/extra-patch-Src_Modules_curses__keys.awk
+++ /dev/null
@@ -1,18 +0,0 @@
-https://sourceforge.net/p/zsh/code/ci/c6a85163619ed1cee89ab047a0d98108ed46828d/
---- Src/Modules/curses_keys.awk.orig	2017-12-04 14:09:36 UTC
-+++ Src/Modules/curses_keys.awk
-@@ -12,8 +12,13 @@ BEGIN {nkeydefs = 0}
- 
- END {
-     printf("static const struct zcurses_namenumberpair keypad_names[] = {\n")
--    for (i = 0; i < 0 + nkeydefs; i++)
-+    for (i = 0; i < 0 + nkeydefs; i++) {
-+        if (name[i] == "EVENT")
-+            printf("#ifdef KEY_EVENT\n")
-         printf("    {\"%s\", KEY_%s},\n", name[i], name[i])
-+        if (name[i] == "EVENT")
-+            printf("#endif\n")
-+    }
-     printf("    {NULL, 0}\n")
-     printf("};\n")
- }