/[gentoo-x86]/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch
Gentoo

Contents of /sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Apr 5 17:44:25 2014 UTC (3 years, 6 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
sci-mathematics/genius: Add fix for gcc-4.8

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 src/genius-readline-helper.c | 2 +-
2 src/inter.c | 2 +-
3 2 files changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/src/genius-readline-helper.c b/src/genius-readline-helper.c
6 index 7e9e84b..dbf8fd2 100644
7 --- a/src/genius-readline-helper.c
8 +++ b/src/genius-readline-helper.c
9 @@ -183,7 +183,7 @@ main(int argc, char *argv[])
10 rl_terminal_name = "xterm";
11 rl_readline_name = "Genius";
12 rl_attempted_completion_function =
13 - (CPPFunction *)tab_completion;
14 + (rl_completion_func_t *)tab_completion;
15
16 while(fgets(buf,4096,infp)) {
17 int count;
18 diff --git a/src/inter.c b/src/inter.c
19 index 915f115..f0d2558 100644
20 --- a/src/inter.c
21 +++ b/src/inter.c
22 @@ -367,5 +367,5 @@ init_inter(void)
23 {
24 rl_readline_name = "Genius";
25 rl_attempted_completion_function =
26 - (CPPFunction *)tab_completion;
27 + (rl_completion_func_t *)tab_completion;
28 }

  ViewVC Help
Powered by ViewVC 1.1.20