Hi,
This also is to prepare the libc bump.
The macro variable name might be changed. I'll update it then.
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/shells/ksh93/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile 13 Jun 2023 21:50:41 -0000 1.21
+++ Makefile 17 Aug 2023 08:57:19 -0000
@@ -6,6 +6,7 @@ GH_PROJECT = ksh
GH_TAGNAME = v${V}
PKGNAME = ksh93-$V
EPOCH = 0
+REVISION = 0
CATEGORIES = shells
Index: patches/patch-src_lib_libast_features_wchar
===================================================================
RCS file: patches/patch-src_lib_libast_features_wchar
diff -N patches/patch-src_lib_libast_features_wchar
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_lib_libast_features_wchar 17 Aug 2023 08:57:19 -0000
@@ -0,0 +1,13 @@
+Index: src/lib/libast/features/wchar
+--- src/lib/libast/features/wchar.orig
++++ src/lib/libast/features/wchar
+@@ -8,6 +8,9 @@ cat{
+ #if defined(__FreeBSD__) || defined(__DragonFly__)
+ #define _STDFILE_DECLARED 1
+ #endif
++ #if defined(__OpenBSD__)
++ #define _STDFILES_DECLARED 1
++ #endif
+ }end
+
+ lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h