when compiling ncurses 5.9 with busybox sed,
it'll produce invalid C files
../ncurses/lib_gen.c:27:3: error: expected identifier or '(' before 'int'
the file contains:
/* DO NOT EDIT THIS FILE BY HAND!
* It is generated by ./base/MKlib_gen.sh generated. */
the line that errs is
* int waddch(stdscr,const chtype z) { ... }
which clearly is invalid C
it is generated by ncurses-5.9/ncurses/./base/MKlib_gen.sh which does a
lot of sed...
since i'm not very familiar with sed, it would be nice if someone could
look at the issue.
using gnu sed instead fixes the build.
--JS
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox