diff options
Diffstat (limited to 'sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch')
-rw-r--r-- | sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch b/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch new file mode 100644 index 000000000000..34427a72dda1 --- /dev/null +++ b/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch @@ -0,0 +1,28 @@ + 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; + } |