As packaged, the merge of readline will fail when building examples/rlfe/rlfe.c because 'index()' isn't defined. This is because SGI moved index() and rindex() from <string.h> to <strings.h>, but the former blocks the latter. Thus, a patch similar to the following (from memory) should be applied to rlfe.c: +#ifndef __sgi #include <string.h> +#endif #ifdef HAVE_STRINGS_H # include <strings.h> #endif
do you have an "exact" patch for me which you are sure works, then I can apply :)
I updated the IRIX patch to reflect this, thanks