37 | | Configure script wrongly probe things and then **FTBFS**. |
| 37 | Configure script wrongly probe things and then **FTBFS**: |
| 38 | |
| 39 | {{{ |
| 40 | termcap.c:45:14: error: conflicting types for 'boolcodes'; have 'char *[]' |
| 41 | 45 | static char *boolcodes[] = { |
| 42 | | ^~~~~~~~~ |
| 43 | In file included from ../../Src/zshterm.h:1, |
| 44 | from ../../Src/zsh_system.h:932, |
| 45 | from ../../Src/zsh.mdh:15, |
| 46 | from termcap.mdh:15, |
| 47 | from termcap.c:38: |
| 48 | /usr/include/term.h:783:56: note: previous declaration of 'boolcodes' with type 'const char * const[]' |
| 49 | 783 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[]; |
| 50 | | ^~~~~~~~~ |
| 51 | make[3]: *** [Makefile:230: termcap.o] Error 1 |
| 52 | }}} |
| 53 | |
| 54 | {{{ |
| 55 | sed -e 's/^main/int &/' -e 's/exit/return/' -i aczsh.m4` |
| 56 | sed 's/test = /&(char**)/' -i configure.ac |
| 57 | autoreconf |
| 58 | }}} |