[ Juhani Numminen]
> From a comment at upstream issue tracker[1], I understand that FreeBSD has 
> patch[2] to fix this,
> but I didn't try it out myself.

I tested this patch from FreeBSD, and it did not solve the build problem:

Index: ksh-93u+20120801/src/lib/libast/features/wchar
===================================================================
--- ksh-93u+20120801.orig/src/lib/libast/features/wchar 2018-10-02 
06:36:06.485021481 +0000
+++ ksh-93u+20120801/src/lib/libast/features/wchar      2018-10-02 
06:36:06.481021424 +0000
@@ -51,6 +51,7 @@
 run{
 cat <<!
        #if _hdr_wchar && defined(_nxt_wchar)
+       #define _STDFILE_DECLARED
        #include ${_nxt_wchar-_nxt_wchar}       /* the native wchar.h */
        #endif
 

The upstream fix seem to be similar and focused on FreeBSD.  It is available 
from
<URL: 
https://github.com/att/ast/commit/cbe3543e0616f01973bc2f1f1ee8784be87fa1d6 >.  
I tested this
one too, and it did not fix the build failure either.  I did not look closely 
into the failure.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to