You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch

29 lines
863 B

src/genius-readline-helper.c | 2 +-
src/inter.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/genius-readline-helper.c b/src/genius-readline-helper.c
index 7e9e84b..dbf8fd2 100644
--- a/src/genius-readline-helper.c
+++ b/src/genius-readline-helper.c
@@ -183,7 +183,7 @@ main(int argc, char *argv[])
rl_terminal_name = "xterm";
rl_readline_name = "Genius";
rl_attempted_completion_function =
- (CPPFunction *)tab_completion;
+ (rl_completion_func_t *)tab_completion;
while(fgets(buf,4096,infp)) {
int count;
diff --git a/src/inter.c b/src/inter.c
index 915f115..f0d2558 100644
--- a/src/inter.c
+++ b/src/inter.c
@@ -367,5 +367,5 @@ init_inter(void)
{
rl_readline_name = "Genius";
rl_attempted_completion_function =
- (CPPFunction *)tab_completion;
+ (rl_completion_func_t *)tab_completion;
}