jlec        14/04/05 17:44:25

  Added:                genius-1.0.17-gcc4.8.patch
  Log:
  sci-mathematics/genius: Add fix for gcc-4.8
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.1                  sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/genius/files/genius-1.0.17-gcc4.8.patch?rev=1.1&content-type=text/plain

Index: genius-1.0.17-gcc4.8.patch
===================================================================
 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;
 }




Reply via email to