reiser4progs-1.0.7-readline-6.3.patch 472 B

1234567891011121314151617
  1. https://bugs.gentoo.org/504472
  2. fix building w/readline-6.3 -- the old CPPFunction define has been deleted
  3. --- a/libmisc/ui.c
  4. +++ b/libmisc/ui.c
  5. @@ -256,8 +256,7 @@ static void _init(void) {
  6. #if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_READLINE_H)
  7. rl_initialize();
  8. - rl_attempted_completion_function =
  9. - (CPPFunction *)misc_complete;
  10. + rl_attempted_completion_function = misc_complete;
  11. #endif
  12. aal_exception_set_handler(misc_exception_handler);