linamh/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch
Mario Fetka a34cadcb13 Bump
Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
2014-07-14 16:11:24 +02:00

17 lines
472 B
Diff

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